View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0032520 | Community | PRODUCTS:DXF Import | public | 2021-08-04 12:12 | 2021-08-04 13:02 |
Reporter | lucas_morona_164500 | Assigned To | |||
Priority | normal | Severity | just a question | ||
Status | new | Resolution | open | ||
Platform | Windows | OS | Windows 10 | ||
Product Version | 7.3.0 | ||||
Summary | 0032520: DXF Import - OCC auto scaling objects if $INSUNITS is defined inside DXF file | ||||
Description | Inside DXF file there is a variable called $INSUNITS this variable define unit inside DXF file, like SI (meters, millimeters, centimeters and go on), if this variable is set OCC scaling objetcs automaticly, i would like to now if is possible deactivate this, and import file without scaling. | ||||
Steps To Reproduce | If you do not have AutoCAD use notpad++ find $INSUTS and change his value, you will see, OCC change the scale of objects. | ||||
Additional information and documentation updates | For more information about look: https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2018/ENU/AutoCAD-Core/files/GUID-A58A87BB-482B-4042-A00A-EEF55A2B4FD8-htm.html google it about change unit in AutoCAD there is many videos how do it | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
Parametric 6.dxf (128,333 bytes) |
|
As far as I can see, this should be manageable via "read.dxf.insunits.scale" parameter, turned on by default.DxfControl_Controller::Init(); Interface_Static::SetIVal ("read.dxf.insunits.scale", 0); // disable scaling As far as I understand, input model is converted into MM, when this option is enabled (default). |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-08-04 12:12 | lucas_morona_164500 | New Issue | |
2021-08-04 12:12 | lucas_morona_164500 | Assigned To | => gka |
2021-08-04 12:12 | lucas_morona_164500 | File Added: Parametric 6.dxf | |
2021-08-04 12:48 | kgv | Relationship added | related to 0032514 |
2021-08-04 12:49 | kgv | Relationship added | related to 0032512 |
2021-08-04 12:49 | kgv | Summary | OCC auto scaling objects if $INSUNITS is defined inside DXF file => DXF Import - OCC auto scaling objects if $INSUNITS is defined inside DXF file |
2021-08-04 13:02 | kgv | Note Added: 0102976 |