• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

get fast dxf from sheet metal parts

  • Thread starter Thread starter flaminio
  • Start date Start date
in the mapping file you can safely specify that the fold lines go put on a different layer
 
ok but for example:
- contour -> layer 0
- fold -> layer 1
How do I get it?

I now with the macro port and I have the lines on the same layer but a continuous and a dotted and the cutting program fails to differentiate the processing according to the type of line but only according to the layer of belonging.
 
I have in front of the open mapping file connected with the macro.
if I manually save the piece with mapping I see different color lines but with the macro color is not applied.
Consequently, any change to mapping is not applied to export by the axieme.

edit.
I correct that manually export levels and colors as I want and modified the mapping as I wish but the macro does not see it.
 
Last edited:
Good morning to all, after several tests I arrived at two conclusions of which I would like an opinion.

manual export works with the mapping that I set correctly recognizes the fold direction and assigns to each line of bending the layer and correct color (I attach the layer-manual file.dat).

exporting with the macro does not recognize the difference of bending lines but recognizes them only as generic halfway lines to which it assigns a single value (I attach the layer-macro.dat file)

Therefore for now I have not managed to export the fold verses but only the fold property of the line.
 

Attachments

in your mapping file are exported
geometry [0] = bylayer, bylayer, 0
piega linee - direzione in basso [32] = 6, bylayer, 1
fold lines - top direction [31] = 1, bylayer, 2

i open your solid mapping file and seeImmagine.webpquestion:
did you put the lines in your hand? or found it among the voices in entity?
these rumors about the folds you entered in the 2019 version do not find them.

could you explain?
 
are voices that I have already found set in solid I have simply associated with the bend direction the color corresponding to the type of processing that then in the workshop must see and perform on the piece.

I think you associate them directly when you go to make a folded piece and make a folded edge on the base extrusion side of the piece or on the opposite side.
I am accustomed to drawing the pieces bearing in mind the entrance side of the laser, "nice side", and from them to start with folds on or on the face to get the desired result.

I would like to understand if there is a way to tell the macro to use parameters 31 and 32 instead of 14.
 
are rumors that I have found already set in solid
Can you attach a screenshot of those entries?
I think you associate them directly when you go to make a folded piece and make a folded edge on the base extrusion side of the piece or on the opposite side.
are settings in solid, those you have are the default ones

can you set the software version in your profile?
 
Something's not right.
clicking on the cell entity a drop-down menu that has many voices, including axes, sketches, odds, notes and more, not only 3,
 
incorrect courier, the error is mine that for export I always step through the design environment while you directly on the side.
I don't do macros, so unfortunately I can't help you.
 
I use the drawing board very little unfortunately I should devote some time to that too.

I will perhaps wait for someone skillful with macros to explain to me that export parameters go to change even if already now the time saved in export is a lot.

Thank you anyway!
 
mapping in the export of a part not from all the opportunities that are given in the export of the table.
I have dealt with this in the past, but solidworks in part does not allow you to manage the layers in export, just because it does not have them.
it is possible to get mapping as if it were a table with advanced programming libraries, there are also open source, but it is a complex thing.
 
Hello is not clear to me the last part, would you like a subfolder with the name of the subset which contains the sheet?
for the export of the boards in pdf I do not see any problems, I would like to understand if it is done at the end of the launch of the macro of creation of the dxf, and then of all the files of the folder of the assieme or only of the sheets exported?
Good morning, jenuary,
Can you share a macro apart from exposing all tables in pdf in c:\pdf?
 
already...it is a different situation, you should cycle every body of the part and save it in dxf, putting it a progressive suffix. the macro currently does not.
 
I understand. @jenuary, sin because it would have been very useful since we still codify the names of the bodies.
you could change the macro so that the export directory is only in c:\dxf, leaving only the <nome file=""> as export reference?</nome>
 
Good morning tree,
in this discussion as in others I have always tried and as much as possible to help everyone, and this I will always do so until I can.
the macro (reading you will realize that I have created various versions), export all configurations, depending on the thickness and material, also creates the reference folder.
It must therefore be changed not only two lines of code, but must be customized according to the precise request.
I ask you "gentilly", since in your request these terms I did not find them, to attach the version of the macro between those posted in this discussion, the one with the variant that does to your case to align according to request. I see what I can do. I think you'll understand. .it is not obvious that in this forum someone writes macros instead of others, but it should be a way to ask for help in writing them, i.e. trying to change them and ask for help where they are plastered.
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top