Export Sheet Metal to DXF only saves sketches for single body parts?

User avatar
mike miller
Posts: 878
Joined: Fri Mar 12, 2021 3:38 pm
Answers: 7
Location: Michigan
x 1070
x 1231
Contact:

Export Sheet Metal to DXF only saves sketches for single body parts?

Unread post by mike miller »

I have gone around and around with this one; suppressing sketches, editing flat patterns, editing map files, etc. ad nauseum.

It seems that SWX will export sketches just fine as long as there is only one body in the part. As soon as there are >1 bodies, it will still export geometry and bend lines but not sketches. If I create a Delete/Keep Bodies feature, and leave only one, it works fine. Any ideas?

@Roasted By John
@Glenn Schroeder
@mattpeneguy





Trailing Arm.SLDPRT
(375.16 KiB) Downloaded 82 times
He that finds his life will lose it, and he who loses his life for [Christ's] sake will find it. Matt. 10:39
User avatar
bnemec
Posts: 1941
Joined: Tue Mar 09, 2021 9:22 am
Answers: 10
Location: Wisconsin USA
x 2540
x 1398

Re: Export Sheet Metal to DXF only saves sketches for single body parts?

Unread post by bnemec »

mike miller wrote: Mon Mar 15, 2021 10:04 am I have gone around and around with this one; suppressing sketches, editing flat patterns, editing map files, etc. ad nauseum.

It seems that SWX will export sketches just fine as long as there is only one body in the part. As soon as there are >1 bodies, it will still export geometry and bend lines but not sketches. If I create a Delete/Keep Bodies feature, and leave only one, it works fine. Any ideas?

@Roasted By John
@Glenn Schroeder
@mattpeneguy






Trailing Arm.SLDPRT
I cannot open your file (2019) but I've been working with dxfs for laser lately so did some testing on multi body. Here's what I've found: Always with the "Sheet Metal" radio button selected

-Only unabsorbed sketches show up in dxf
- If there is more than one body only the first shows up (geometry checked), doesn't matter if there is more than one body in the selection box.
image.png
Sorry for the dumb question, but why would you want multiple bodies in one dxf and also sketches? I'm assuming this is not the one part number per file use case? Or piece parts do not get part numbers?
User avatar
mike miller
Posts: 878
Joined: Fri Mar 12, 2021 3:38 pm
Answers: 7
Location: Michigan
x 1070
x 1231
Contact:

Re: Export Sheet Metal to DXF only saves sketches for single body parts?

Unread post by mike miller »

I do not want more than one body in a DXF. I want one body along with any sketches that are shown in the Flat-Pattern configuration.
He that finds his life will lose it, and he who loses his life for [Christ's] sake will find it. Matt. 10:39
User avatar
jcapriotti
Posts: 1852
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 29
Location: The south
x 1196
x 1984

Re: Export Sheet Metal to DXF only saves sketches for single body parts?

Unread post by jcapriotti »

Does the same thing in 2021. Not that it helps but.......SolidWorks shows it fixed in 2022, SPR #931297

As a workaround, you could suppress the features so you only have one body, then it works. With a bit of rework you could isolate each part's features in folders for easier suppression, but that doesn't work well when one part needs to reference another, which is the reason I assume you are using a multi-body sheet metal part here. You can get around that by having a single skeleton sketch to reference instead of the parts to each other......again...a bit of rework just to get around a limitation on dxf export. But not bad modeling practice either so.....
Jason
User avatar
mike miller
Posts: 878
Joined: Fri Mar 12, 2021 3:38 pm
Answers: 7
Location: Michigan
x 1070
x 1231
Contact:

Re: Export Sheet Metal to DXF only saves sketches for single body parts?

Unread post by mike miller »

jcapriotti wrote: Tue Mar 16, 2021 11:59 am Does the same thing in 2021. Not that it helps but.......SolidWorks shows it fixed in 2022, SPR #931297

As a workaround, you could suppress the features so you only have one body, then it works. With a bit of rework you could isolate each part's features in folders for easier suppression, but that doesn't work well when one part needs to reference another, which is the reason I assume you are using a multi-body sheet metal part here. You can get around that by having a single skeleton sketch to reference instead of the parts to each other......again...a bit of rework just to get around a limitation on dxf export. But not bad modeling practice either so.....
Noice. I have no plans to downgrade any further, so no thanks. (not aimed at you, @jcapriotti )

The only workaround I've found is Delete Bodies. Suppressing doesn't help... :evil:
He that finds his life will lose it, and he who loses his life for [Christ's] sake will find it. Matt. 10:39
User avatar
jcapriotti
Posts: 1852
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 29
Location: The south
x 1196
x 1984

Re: Export Sheet Metal to DXF only saves sketches for single body parts?

Unread post by jcapriotti »

Delete bodies is good and better than the rework I mentioned.
Jason
KevinC
Posts: 90
Joined: Fri Mar 12, 2021 10:14 am
Answers: 1
x 16
x 66

Re: Export Sheet Metal to DXF only saves sketches for single body parts?

Unread post by KevinC »

Not in front of SW at the moment to test, but what happens if flatten and then save as>DXF using an annotation view?
Do the sketches get included?

Kevin
User avatar
mike miller
Posts: 878
Joined: Fri Mar 12, 2021 3:38 pm
Answers: 7
Location: Michigan
x 1070
x 1231
Contact:

Re: Export Sheet Metal to DXF only saves sketches for single body parts?

Unread post by mike miller »

KevinC wrote: Sun Mar 21, 2021 4:29 pm Not in front of SW at the moment to test, but what happens if flatten and then save as>DXF using an annotation view?
Do the sketches get included?

Kevin
Yeah they do. But it won't work for us. Even selecting Flat-Pattern View has the same result. :o
image.png
He that finds his life will lose it, and he who loses his life for [Christ's] sake will find it. Matt. 10:39
KevinC
Posts: 90
Joined: Fri Mar 12, 2021 10:14 am
Answers: 1
x 16
x 66

Re: Export Sheet Metal to DXF only saves sketches for single body parts?

Unread post by KevinC »

[quote="mike miller" post_id=1279 time=1616417923 user_id=118]
[quote=KevinC post_id=1250 time=1616358582 user_id=111]
Not in front of SW at the moment to test, but what happens if flatten and then save as>DXF using an annotation view?
Do the sketches get included?

Kevin
[/quote]

Yeah they do. But it won't work for us. Even selecting Flat-Pattern View has the same result. :o

image.png
[/quote]
What about creating an unfolded config?
User avatar
bnemec
Posts: 1941
Joined: Tue Mar 09, 2021 9:22 am
Answers: 10
Location: Wisconsin USA
x 2540
x 1398

Re: Export Sheet Metal to DXF only saves sketches for single body parts?

Unread post by bnemec »

mike miller wrote: Mon Mar 22, 2021 8:58 am
KevinC wrote: Sun Mar 21, 2021 4:29 pm Not in front of SW at the moment to test, but what happens if flatten and then save as>DXF using an annotation view?
Do the sketches get included?

Kevin
Yeah they do. But it won't work for us. Even selecting Flat-Pattern View has the same result. :o

image.png
I could be way off here, but I don't see how the SaveAsDXF could do this as it's likely there are sketches on other, non-parallel, planes. I think the DXF operation can only be given one set of x,y,z rotations and offsets, so I'm thinking it cannot include the sketch from bodyA that may be on the front plane and put it on the same 2D dxf as the sketch for bodyB that may be on the side plane. If we orientate the DXF to bodyA (front plane) and get the sketch, then the sketch for bodyB would just be a line, or a stack of colinear lines, if displayed on a 2D dxf aligned to the front plane.
Post Reply