Problem with rotation of drawing
Moderators: SDS, support, admin
-
- Posts: 19
- Joined: 03 Dec 2008, 20:04
Problem with rotation of drawing
Sergey,
I have a big problem with X-axis rotation. Can you clarify me this issue?
I created 3D shape with copying one polyline to another adding some height to Z-axis vertexes...
Both polylines were added to block, so as I understand they should behave the same while making X-axis rotation (the shape just revolves on its axis)...
If the heights from both sides are the same, X-axis rotation seems realistic; however, if one side of the shape is longer than another, copied polyline is distorted and looks ugly. Can you help me to understand what is wrong? Is this some kind of designed behaviour or is it a bug?
Rotation doesn't look good even if I remove Bulges.
Here are some data in case to check:
X Y Z Bulge
1 pline 34000 -31607 -9600 -0.41
50392 -36000 -12000 0
60784 -30000 -12000 0.41
28000 -21215 -9600 0
2 pline 34000 -31607 0 -0.41
50392 -36000 0 0
60784 -30000 0 0.41
28000 -21215 0 0
I do rotation as follows:
Thanks in advance.
Elena
I have a big problem with X-axis rotation. Can you clarify me this issue?
I created 3D shape with copying one polyline to another adding some height to Z-axis vertexes...
Both polylines were added to block, so as I understand they should behave the same while making X-axis rotation (the shape just revolves on its axis)...
If the heights from both sides are the same, X-axis rotation seems realistic; however, if one side of the shape is longer than another, copied polyline is distorted and looks ugly. Can you help me to understand what is wrong? Is this some kind of designed behaviour or is it a bug?
Rotation doesn't look good even if I remove Bulges.
Here are some data in case to check:
X Y Z Bulge
1 pline 34000 -31607 -9600 -0.41
50392 -36000 -12000 0
60784 -30000 -12000 0.41
28000 -21215 -9600 0
2 pline 34000 -31607 0 -0.41
50392 -36000 0 0
60784 -30000 0 0.41
28000 -21215 0 0
I do rotation as follows:
Code: Select all
cadImage.Rotate(CADImport.FaceModule.Axes.X, 20);
Elena
Re: Problem with rotation of drawing
Hello Elena,
We caught this problem. We will inform you when it is solved.
Sergey.
We caught this problem. We will inform you when it is solved.
Sergey.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
-
- Posts: 19
- Joined: 03 Dec 2008, 20:04
Re: Problem with rotation of drawing
Do you have an estimate on when this problem will be resolved?
Is there a work around for this issue?
Thank you.
Is there a work around for this issue?
Thank you.
Re: Problem with rotation of drawing
Hello Elena,
Accordingly to AutoCAD DXF Reference "Bulge" is set for LWPolyline only. LWPolyline is 2D entity. Polyline (CADPolyLine in CAD Import .NET) is 3D entity. It mustn't take this parameter. Thus as a temporary solution we recommend to set Bulge = 0 for CADPolyLine or to creat CADLWPolyLine entities.
Sergey.
Accordingly to AutoCAD DXF Reference "Bulge" is set for LWPolyline only. LWPolyline is 2D entity. Polyline (CADPolyLine in CAD Import .NET) is 3D entity. It mustn't take this parameter. Thus as a temporary solution we recommend to set Bulge = 0 for CADPolyLine or to creat CADLWPolyLine entities.
Sergey.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: Problem with rotation of drawing
What if bulge can not be set to zero to draw the entity correctly? Is there any way to draw a 3D entity using the sample data giving by Elena without setting bulge to zero and have CADImport.NET draw it correctly? Is there a timetable for correcting this issue or some other workaround that can be suggested?support wrote:Hello Elena,
Accordingly to AutoCAD DXF Reference "Bulge" is set for LWPolyline only. LWPolyline is 2D entity. Polyline (CADPolyLine in CAD Import .NET) is 3D entity. It mustn't take this parameter. Thus as a temporary solution we recommend to set Bulge = 0 for CADPolyLine or to creat CADLWPolyLine entities.
Sergey.
Thank you.
-JB
Re: Problem with rotation of drawing
Hello!
Nevertheless we do thank you for your suggestion and your help. We'll inform you when the update is ready.
Sergey.
There are two ways:What if bulge can not be set to zero to draw the entity correctly? Is there any way to draw a 3D entity using the sample data giving by Elena without setting bulge to zero and have CADImport.NET draw it correctly?
- to create CADLWPolyLine with bulges but with Z=0 for vertexes;
- to create CADPolyLine with different Z coordinates for vertexes and with bulges = 0.
This task requires detailed elaboration. It can not be solved "on the fly" as this might possibly harm other customers using CAD Import .NET. We can not say exactly how long it is going to take to study the problem.Is there a timetable for correcting this issue or some other workaround that can be suggested?
Nevertheless we do thank you for your suggestion and your help. We'll inform you when the update is ready.
Sergey.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support