I am trying to use the code below to create isolines (DC1 is a dummy cube). It worked before, as in previous posts, when we had TGLisolines instead of TXisolines.
Now, when I run the line "GLIsolines:= TXIsolines.CreateAsChild (DC1) ;" I get an error "access violation". Do you have any demo using this new TXisolines from contouring.pas ? Thanks in advance
Hi Sergio,
I've compared versions and there were only TGL..->Tx.. renamings in GLTypes unit to be common with VXScene package. So it must work. Apply your project here or demo based on it, please, to fix the problem.
PW
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Pavel. I really would like to put my project here. I did think about this some times before. The problem is that it is very big and integrated with a long calculation program. To put it in a understandable way for others It would take me more than one month to do
I checked again considering that TGL..->Tx.. renamings in GLTypes unit to be common
Following line by line I see that the information DC1 in the line "GLIsolines:= TXIsolines.CreateAsChild (DC1)" seems to disapear as below
I know exactly the error point following with F7 (see variable owner.name below)
Pavel I can send to your email the complete code of the GLscene part of my code. If you wish please write to my email sergiofeitoza@cognitor.com.br
In the attachment there are some outputs of the code. If GLteam wish to do some necessary adaptations we could put together my code in SourceForce as a big free source code demo. It would be necessary only to replace my complete calculation code which generate the GEOMETRY and VALUES by one single case. In other words I could not put the calculation code there.
Note that the isolines are in the moving plane in the figures. In this case i calculate the temperatures of the electrical conductors and show them in the plane
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Information to GLS team
These last days I tried for many times to install the recent GLscene version using the installer and also using the previous method ( open GLScene_Win32.groupproj, compile all from here + intall Design time packages). Everything goes well up to "compile all" but in all the times when I try to compile the design packages I get the message "Can’t load package c:\Glscene\bpl\win32\Glscene_Physics_DT.bpl . The specified module could not be found" . I checked many times the library paths , etc... and could not find where I am doing an error. I also noticed that by some reason theTIXisilolines is not working in my computer. The point of error is described in the post above
Then I installed again version GLScene_v1.4_December_2015_VCL just using the instructions in the install.txt file . It installs well using " compile all" + compile the design package. The SetUOinstaller do not work well in my computer. In this GLScene_v1.4_December_2015_VCL version, after installing, I had only to go back to TGLisolines instaed of TIXisolines and to adjust two variables names from (for example) TMeshObject to TGLmeshobject
Regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, Sergio
By default v.1.6 is installing in d:\components\glscene directory and may be your c: disk is not available in OS windows 10 not having admin rights. Clean register before reinstalling. Please, send your project sources to me without your calculation units and I'll try to find out the fault.
PW
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sergio,
I've updated TIsolines class. Now it's in GLIsolines unit instead of GLContouring one. Update your GLScene's code from trunk on SF. It should work with your application. As an example look at our previous demo in the attachment
PW
Hi Pavel
Great work. Everything works fine now using the last trunk version. Good idea to have the code in GLisolines instead of in countouring.pas
In my big code is working fine also
P.S: I am also finishing the implementation of a new site using Intraweb+Bootstrap and with my GLscene code running . I am completing and soon I will post the address
Regards and thanks again
Sergio
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to use the code below to create isolines (DC1 is a dummy cube). It worked before, as in previous posts, when we had TGLisolines instead of TXisolines.
Now, when I run the line "GLIsolines:= TXIsolines.CreateAsChild (DC1) ;" I get an error "access violation". Do you have any demo using this new TXisolines from contouring.pas ? Thanks in advance
procedure TF_3DD.FormCreate(Sender: TObject);
var pathMainDir,caminhoMedia:string;
begin
GLIsolines:= TXIsolines.CreateAsChild (DC1) ;
GLIsolines.LineColor.Color := clrBlack;
GLIsolines.LinePattern := $FFFF;
GLIsolines.LineWidth := 2;
GLIsolines.NodesAspect := lnaInvisible;
GLIsolines.SplineMode := lsmSegments;
GLIsolines.visible:= True;
GLIsolines.Nodes.Clear;
Did any of you use the more recent GLcontouring.pas with success?
Hi Sergio,
I've compared versions and there were only TGL..->Tx.. renamings in GLTypes unit to be common with VXScene package. So it must work. Apply your project here or demo based on it, please, to fix the problem.
PW
Hi Pavel. I really would like to put my project here. I did think about this some times before. The problem is that it is very big and integrated with a long calculation program. To put it in a understandable way for others It would take me more than one month to do
I checked again considering that TGL..->Tx.. renamings in GLTypes unit to be common
Following line by line I see that the information DC1 in the line "GLIsolines:= TXIsolines.CreateAsChild (DC1)" seems to disapear as below
I know exactly the error point following with F7 (see variable owner.name below)
"GLIsolines:= TXIsolines.CreateAsChild (DC1)" <<<<< DC1 dummy cube DC1.name = ‘DC1’
GO TO
constructor TGLBaseSceneObject.CreateAsChild(aParentOwner: TGLBaseSceneObject);
begin
Create(aParentOwner); <<<<<< aparentOwner.name = ‘DC1’
aParentOwner.AddChild(Self);
end;
AND GO TO
constructor TxIsolines.Create(AOwner: TComponent);
begin
LineList := TList.Create;
IsolineState := ilsEmpty;
Nodes.Create(Self); <<<<<<<<<<<
end;
AND GO TO
constructor TGLLinesNodes.Create(AOwner: TComponent);
begin
inherited Create(AOwner, TGLLinesNode); <<<<< AOwner.name = “ (should be ‘DC1’ ?)
end;
AND THEM GO TO THE ERROR POINT
constructor TGLNodes.Create(AOwner: TPersistent; AItemClass: TCollectionItemClass = nil);
begin
if not Assigned(AItemClass) then
inherited Create(AOwner, TGLNode)
else
inherited Create(AOwner, AItemClass); <<<<< AOwner.name = E2003 Undeclared identifier: 'name'
end;
Pavel I can send to your email the complete code of the GLscene part of my code. If you wish please write to my email sergiofeitoza@cognitor.com.br
In the attachment there are some outputs of the code. If GLteam wish to do some necessary adaptations we could put together my code in SourceForce as a big free source code demo. It would be necessary only to replace my complete calculation code which generate the GEOMETRY and VALUES by one single case. In other words I could not put the calculation code there.
Note that the isolines are in the moving plane in the figures. In this case i calculate the temperatures of the electrical conductors and show them in the plane
Information to GLS team
These last days I tried for many times to install the recent GLscene version using the installer and also using the previous method ( open GLScene_Win32.groupproj, compile all from here + intall Design time packages). Everything goes well up to "compile all" but in all the times when I try to compile the design packages I get the message "Can’t load package c:\Glscene\bpl\win32\Glscene_Physics_DT.bpl . The specified module could not be found" . I checked many times the library paths , etc... and could not find where I am doing an error. I also noticed that by some reason theTIXisilolines is not working in my computer. The point of error is described in the post above
Then I installed again version GLScene_v1.4_December_2015_VCL just using the instructions in the install.txt file . It installs well using " compile all" + compile the design package. The SetUOinstaller do not work well in my computer. In this GLScene_v1.4_December_2015_VCL version, after installing, I had only to go back to TGLisolines instaed of TIXisolines and to adjust two variables names from (for example) TMeshObject to TGLmeshobject
Regards
Hi, Sergio
By default v.1.6 is installing in d:\components\glscene directory and may be your c: disk is not available in OS windows 10 not having admin rights. Clean register before reinstalling. Please, send your project sources to me without your calculation units and I'll try to find out the fault.
PW
I sent you Regards
Sergio,
I've updated TIsolines class. Now it's in GLIsolines unit instead of GLContouring one. Update your GLScene's code from trunk on SF. It should work with your application. As an example look at our previous demo in the attachment
PW
Last edit: Pavel Vassiliev 2018-06-03
Hi Pavel
Great work. Everything works fine now using the last trunk version. Good idea to have the code in GLisolines instead of in countouring.pas
In my big code is working fine also
P.S: I am also finishing the implementation of a new site using Intraweb+Bootstrap and with my GLscene code running . I am completing and soon I will post the address
Regards and thanks again
Sergio