TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: velasquez on February 15, 2017, 01:20:32 PM

Title: Problem with 2dwireframe
Post by: velasquez on February 15, 2017, 01:20:32 PM
A 3D block is shown in different ways when inserted with different scales in the same drawing.
The image shows this effect.
If I blow the right block, the problem disappears.
Can someone tell me how to solve this?
Title: Re: Problem with 2dwireframe
Post by: ChrisCarlson on February 15, 2017, 03:47:13 PM
I don't have that block to test but try zooming into the smaller block and performing a regen.

Also, this is the AutoLISP area.
Title: Re: Problem with 2dwireframe
Post by: velasquez on February 16, 2017, 05:57:41 AM
I don't have that block to test but try zooming into the smaller block and performing a regen.

Also, this is the AutoLISP area.
Thanks for your response.
Follow the drawing for testing.
I'm looking for a solution in AutoLisp for the problem.
This drawing is inserted by a tool that allows the user to choose the unit of measure: 1.0 for millimeters, 0.1 for centimeters or 0.001 for meters.
The problem with the preview appears when the block is entered in the 0.001 scale.
Title: Re: Problem with 2dwireframe
Post by: ChrisCarlson on February 16, 2017, 07:57:23 AM
I guess I don't understand the problem. Create a GIF or ScreenCast of the problem.
Title: Re: Problem with 2dwireframe
Post by: velasquez on February 16, 2017, 09:41:38 AM
I guess I don't understand the problem. Create a GIF or ScreenCast of the problem.

Please open a new drawing and insert the drawing I posted on the 0.001 scale.
See also the difference with Visual Style in Dwireframe 3.
Tell me how it appears on your screen.
Thanks
Title: Re: Problem with 2dwireframe
Post by: ChrisCarlson on February 16, 2017, 10:10:47 AM
I'm going to say it's just a representation of the model at insanely small scales. 2DWireframe is far from advanced as I'm pretty sure it does not use hardware acceleration.

Why would it ever be inserted at 0.001 scale? I don't think I have ever seen a 45° flange @ < 1mm.
Title: Re: Problem with 2dwireframe
Post by: ronjonp on February 16, 2017, 10:14:08 AM
Up your ISOLINES (http://help.autodesk.com/view/ACD/2016/ENU/?guid=GUID-64DC6A85-C9FA-4808-83AD-7F0705296A65) variable.
Title: Re: Problem with 2dwireframe
Post by: velasquez on February 16, 2017, 10:50:43 AM
Up your ISOLINES (http://help.autodesk.com/view/ACD/2016/ENU/?guid=GUID-64DC6A85-C9FA-4808-83AD-7F0705296A65) variable.


Hello ronjonp
I tested the values 4 6 and 8 for isolines and nothing changed.
Title: Re: Problem with 2dwireframe
Post by: ronjonp on February 16, 2017, 10:53:47 AM
Try 25 & regen.
Title: Re: Problem with 2dwireframe
Post by: velasquez on February 16, 2017, 11:52:16 AM
Try 25 & regen.

Thank you
This value for isolines does not work well on all the drawings in my library.
I can not understand why the problem does not happen if you use the "_explode" command in the block or when you change the Visual Style to 3D wireframe.
Title: Re: Problem with 2dwireframe
Post by: velasquez on February 16, 2017, 01:31:17 PM
I used command "_scale" in the original drawing, then when it is inserted as a block in a new drawing the problem with 2D wireframe does not happen.