Addon - DXF Import Scales Circles Incorrectly #62585

Closed
opened 2019-03-14 19:55:29 +01:00 by Darren L. Waschow · 5 comments

System Information
Operating system: Windows 10
Graphics card: nVidia Quadro M2000M

Blender Version
Broken: 2.80, 936014ea8c74, 2019-03-12 13:53

Short description of error
When applying an import scale factor, circle elements are scaled to the proper size, but their center point is offset.

It appears that the center of the circle is offset from 0,0 by the scale factor, as though the circle is scaled once and then the center of the circle is scaled again by the scale factor. For example, if you apply an import scale of 0.5, the circle comes in at the correct physical size, but the center is scaled by an additional 0.5 about the scene origin. If you then apply scaling the circle by 2.0 will put its center in the correct location but, of course, the circle will be twice the correct size.

Because the incorrect additional scaling happens around the origin (0,0), circles that are actually drawn with their centers at 0,0 appear correctly.

Exact steps for others to reproduce the error
Import the attached DXF with no scaling (1.0). Then repeat the process using a scale factor.Scale Test.dxf

Scale Test.blend

**System Information** Operating system: Windows 10 Graphics card: nVidia Quadro M2000M **Blender Version** Broken: 2.80, 936014ea8c74, 2019-03-12 13:53 **Short description of error** When applying an import scale factor, circle elements are scaled to the proper size, but their center point is offset. It appears that the center of the circle is offset from 0,0 by the scale factor, as though the circle is scaled once and then the center of the circle is scaled again by the scale factor. For example, if you apply an import scale of 0.5, the circle comes in at the correct physical size, but the center is scaled by an additional 0.5 about the scene origin. If you then apply scaling the circle by 2.0 will put its center in the correct location but, of course, the circle will be twice the correct size. Because the incorrect additional scaling happens around the origin (0,0), circles that are actually drawn with their centers at 0,0 appear correctly. **Exact steps for others to reproduce the error** Import the attached DXF with no scaling (1.0). Then repeat the process using a scale factor.[Scale Test.dxf](https://archive.blender.org/developer/F6824800/Scale_Test.dxf) [Scale Test.blend](https://archive.blender.org/developer/F6824801/Scale_Test.blend)

Added subscriber: @CivilVisions

Added subscriber: @CivilVisions
Bastien Montagne was assigned by Sebastian Parborg 2019-03-15 11:08:13 +01:00
Member

Added subscribers: @mont29, @lichtwerk

Added subscribers: @mont29, @lichtwerk
Bastien Montagne was unassigned by Philipp Oeser 2019-03-15 11:21:34 +01:00
Philipp Oeser self-assigned this 2019-03-15 11:21:34 +01:00
Member

Made a change here recently, checking...

Made a change here recently, checking...

This issue was referenced by 60c98c3324

This issue was referenced by 60c98c332423734d82f197b2f2d43023fb5794ba
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#62585
No description provided.