Search found 16 matches
- 17 Feb 2015, 18:46
- Forum: CAD VCL
- Topic: Draw Torus / Donut
- Replies: 1
- Views: 14687
Draw Torus / Donut
Hi,
using CADVCL I can manage to create a solid plane or a circle for example.
But how would I create an object like a torus / donut?
Is there a way to create those slightly more complex objects programmatically?
-Mike
using CADVCL I can manage to create a solid plane or a circle for example.
But how would I create an object like a torus / donut?
Is there a way to create those slightly more complex objects programmatically?
-Mike
- 16 Feb 2015, 14:41
- Forum: CAD VCL
- Topic: Faster viewer update
- Replies: 1
- Views: 14464
Faster viewer update
Hi, is there a faster or another way to refresh the 3D view than using F3DN.LoadFromConverter(CADImage.Converter, CADImage); ? I select an entity in the 3D viewer and want to change it's size. But when I use FDN.Invalidate; FDN.Refresh; FDN.Repaint; // Same thing with F3DN F3DN.Invalidate; F3DN.Refr...
- 11 Feb 2015, 13:55
- Forum: CAD VCL
- Topic: Smooth animation
- Replies: 3
- Views: 20823
Re: Smooth animation
Thanks for all the answers, Mikhail.
You're really helping me out here.
Does CAD VCL contain any possibilities or functions for animation?
Or would I have to do that all by myself in delphi?
-Mike
You're really helping me out here.
Does CAD VCL contain any possibilities or functions for animation?
Or would I have to do that all by myself in delphi?
-Mike
- 10 Feb 2015, 10:54
- Forum: CAD VCL
- Topic: Create rectangle without loading file
- Replies: 1
- Views: 14336
Create rectangle without loading file
Hi, I've come across an issue that I would like to solve. I can load a .dxf file and then add a solid I created programmatically. When I only want to load the programmatically created solid (or rectangle or whatever) I can't seem to get it working because the program obviously awaits a LoadedCADImag...
- 09 Feb 2015, 18:49
- Forum: CAD VCL
- Topic: Smooth animation
- Replies: 3
- Views: 20823
Smooth animation
Hi, I am trying to use some basic animation by rotating a simple cube with the following code for i := 0 to 360 do begin sleep(5); LoadedCADImage.Rotate(XAxis,1); F3DN.LoadFromConverter(LoadedCADImage.Converter, LoadedCADImage); end; For rotating only around one axis and a simple basic shape/object ...
- 09 Feb 2015, 16:56
- Forum: CAD VCL
- Topic: Change Position of Light
- Replies: 1
- Views: 14531
Change Position of Light
Hi, what is like the best way to change the position of the light source(s)? I'm using either F3DN.Navigator3D.Lights[0].Position.Translate(vec4f); or F3DN.Navigator3D.Lights[0].Translate(80, 80, 80); but nothing seems to happen. Not even when I change those values for all light sources. Whereas cha...
- 09 Feb 2015, 13:38
- Forum: CAD VCL
- Topic: Select Line inside a Block
- Replies: 1
- Views: 13948
Select Line inside a Block
Hello, I have a 2D .dxf drawing which contains only one single block and this block has multiple different lines. When using the drawingNavigator (not 3D), can I select single lines? I tried the Editor sample project but with that one I can only select the whole block but not single lines inside of ...
- 03 Feb 2015, 09:42
- Forum: CAD VCL
- Topic: Extrusion of solid
- Replies: 3
- Views: 20445
Re: Extrusion of solid
Ah I see.
Yes in that case I mixed it up with the extrusion function of 3D models.
Is there a way to extrude an object / entity or would I have to manually realize it?
-Mike
Yes in that case I mixed it up with the extrusion function of 3D models.
Is there a way to extrude an object / entity or would I have to manually realize it?
-Mike
- 02 Feb 2015, 18:31
- Forum: CAD VCL
- Topic: Assign texture to object
- Replies: 2
- Views: 16583
Re: Assign texture to object
Thanks a lot Mikhail, I will look into that.
-Mike
-Mike
- 02 Feb 2015, 18:24
- Forum: CAD VCL
- Topic: Extrusion of solid
- Replies: 3
- Views: 20445
Extrusion of solid
Hi, I have a squareSolid:TsgDXFSolid that I want to extrude. If I use... squareSolid.Point := MakeFPoint(0, 0, 0); squareSolid.Point1 := MakeFPoint(10, 0, 0); squareSolid.Point2 := MakeFPoint(10, 10, 0); squareSolid.Point3 := MakeFPoint(0, 10, 0) squareSolid.Extrusion := MakeFPoint(0, 0, 10); ...not...
- 29 Jan 2015, 17:06
- Forum: CAD VCL
- Topic: Assign texture to object
- Replies: 2
- Views: 16583
Assign texture to object
Hi,
is it possible to assign a texture to an object inside the 3d viewer?
If so, what workflow or what functions/procedures would I need for that?
-Mike
is it possible to assign a texture to an object inside the 3d viewer?
If so, what workflow or what functions/procedures would I need for that?
-Mike
- 29 Jan 2015, 11:37
- Forum: CAD VCL
- Topic: Add another 3D object to the current scene
- Replies: 6
- Views: 38539
Re: Add another 3D object to the current scene
Hi Mikhail,
I did exactly what you said and it works perfectly.
Thanks for the great help
-Mike
I did exactly what you said and it works perfectly.
Thanks for the great help
-Mike
- 28 Jan 2015, 17:59
- Forum: CAD VCL
- Topic: Add another 3D object to the current scene
- Replies: 6
- Views: 38539
Re: Add another 3D object to the current scene
Hi Mikhail,
I have a DXF-object in the scene but want to load another one into the same scene so I have two DXF-objects.
Is that possible?
-Mike
I have a DXF-object in the scene but want to load another one into the same scene so I have two DXF-objects.
Is that possible?
-Mike
- 28 Jan 2015, 10:52
- Forum: CAD VCL
- Topic: Add another 3D object to the current scene
- Replies: 6
- Views: 38539
Add another 3D object to the current scene
Hi,
I am able to load .dxf and .stp/.step files into my Delphi 3D viewer.
Is there a way to add a second object into the scene without losing the already existing one?
-Mike
I am able to load .dxf and .stp/.step files into my Delphi 3D viewer.
Is there a way to add a second object into the scene without losing the already existing one?
-Mike
- 27 Jan 2015, 18:45
- Forum: CAD VCL
- Topic: Draw lines or rectangles
- Replies: 2
- Views: 15886
Re: Draw lines or rectangles
Hello Mikhail,
wow it seems like I totally overlooked that example. It seems to contain all I asked for.
Thanks for the quick help.
-Mike
wow it seems like I totally overlooked that example. It seems to contain all I asked for.
Thanks for the quick help.
-Mike