Extrusion of solid
Moderators: SDS, support, admin
Extrusion of solid
Hi,
I have a squareSolid:TsgDXFSolid that I want to extrude.
If I use...
...nothing happens. If I use...
...the solid looks like it has been rotated but there is no extrusion.
Am I missing something?
-Mike
I have a squareSolid:TsgDXFSolid that I want to extrude.
If I use...
Code: Select all
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);
Code: Select all
squareSolid.Extrusion := MakeFPoint(0, 10, 10);
Am I missing something?
-Mike
Re: Extrusion of solid
Hello Mike,
The extrusion direction is the normal vector of the plane which contains the entity. The default extrusion direction value is (0, 0, 1). Maybe you confused it with the extrusion of solid 3D models?
Mikhail
The extrusion direction is the normal vector of the plane which contains the entity. The default extrusion direction value is (0, 0, 1). Maybe you confused it with the extrusion of solid 3D models?
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
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
Re: Extrusion of solid
Hello Mike,
If you mean the extrusion of some 2D object which results in solid 3D model (for example, a cylinder is a result of extrusion of circle), it is not possible. The Extrusion property in DXF/DWG defines a direction of the normal vector of the plane which contains the entity.
Mikhail
If you mean the extrusion of some 2D object which results in solid 3D model (for example, a cylinder is a result of extrusion of circle), it is not possible. The Extrusion property in DXF/DWG defines a direction of the normal vector of the plane which contains the entity.
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support