News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Missing nodes when saving as .dxf when unit is in mm.

Started by Kiymik1, November 19, 2021, 08:31:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Kiymik1

Hi all,
The annoying behaviour (started from early Visio4 1996, while Microsoft was not involved), if page setup is in mm elliptical arcs are not defined when saved as dxf file. But if inch is selected then it works well.
In the image there are two exactly same (should be) are at the same coordinates, so seems as one. These two has shape sheets as shown, one is made up of circular arcs other is elliptical segments. Practically their nodes may have some difference of 0.001mm or so. But in created dxf file one with elliptical definition has only 4 nodes, other has nodes and arcs. Resultant dxf view is at bottom of picture. The entities section of dxf file is below. I don't understand why this is not corrected for two decades  :-\ .
AcDbPolyline
90
    4
70
    1
43
0
10
244.499949
20
162
10
79.99995199999999
20
156.999988
10
84.999955
20
140
10
249.499952
20
145.000012
  0
LWPOLYLINE
  5
4E
100
AcDbEntity
  8
0
  6
CONTINUOUS
62
    7
370
   -1
100
AcDbPolyline
90
    8
70
    1
43
0
10
84.99995199999999
20
140
42
-0.4142139999999995
10
79.99995199999999
20
145
10
79.99995199999999
20
157
42
-0.4142139999999994
10
84.99995199999999
20
162
10
244.499952
20
162
42
-0.4142139999999996
10
249.499952
20
157
10
249.499952
20
145
42
-0.4142139999999996
10
244.499952
20
140
  0
ENDSEC

Surrogate

I don't think many people use it
MS Visio suggestion box, you can share your issue. if many users vote for your suggest MS may be fix it.

Kiymik1

Thanks, similar message one month ago exists there, voted for it and added link to my message for futher information.

Surrogate

#3
Quote from: Kiymik1 on November 20, 2021, 08:23:02 AM
similar message one month ago exists there
In 2016, MS created a suggestion box based on the third-party service "uservoice.com".
About 2 months ago this service was closed, MS started feedbackportal you can find most of the messages there (but not all of the messages)!

Can you share this suggestion, maybe someone in the Visio Guy forum would vote for this as well?

wapperdude

First, why would you even do this?  The corner rounding tool is so much easier!  Rhetorical question. 

I'm using Visio2019 Pro, and tried to replicate all possible scenarios.  See attached Visio file and resultant DXF file.

The steps:
1) drew simple rectangle
2) used Corner Rounding to do the rounding.  I was curious what the shapesheet would show.
3) re-drew the original shape to chamfer the corners, thus providing begin/end points for the various arc types
4) used pencil tool to grab inflection point for each corner and dragged to obtain desired rounding.
5) opened shapesheet and changed row type to ArcTo
6) changed row type to EllipticalArcTo
7) saved as both VSDX and DXF files.
8) used DXF Viewer to verify contents of DXF file.  All shapes were fine, but 2nd row of text is incorrect.
Visio 2019 Pro

Kiymik1

wapperdude, well, of course I'm doing it properly at the beginning. But my drawing is quite complicated and modifying often, almost every time joining, then trimming, changing something, joining again and so on. I think the problem is visio is changing some values if it is not in inch (try arraying shapes 10mm x 4mm squares, you will see default positions with 3.99999 and 10.00001 steps). When trim and join operations are done this differences tell visio that it is not a circular arc any more, so it defines elliptical arc instead. Normally after checking what is present in dxf file I am deleting the erronous segments, redrawing that segment with circular arc, then dxf is corrected. I may have more than 60 parts to be cut with laser cnc, modifying all erronous shapes this way is quite time consuming and subject to other errors. I also tried if 'Fit curve' changes elliptical arcs to nearest circular arc but it is not working as I expected.

wapperdude

Ah!  Ok.  Will look further incorporating  cuts, trims, and joins.  Thanks for clarification.
Visio 2019 Pro

wapperdude

#7
I constructed a  "shape" using multiple line segments with various roundings.  Duplicated this collection of lines and then joined.  All roundings became ellipitical.  Saved as DXF.  Cannot see any errors.

Can you upload a simple example?  As originally drawn and as a joined (final) version?
Visio 2019 Pro

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 276 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1135KB.
Tokens: post-login.
Cache hits: 13: 0.00196s for 26,764 bytes (show)
Cache misses: 2: (show)
Queries used: 16.

[Show Queries]