Define an origin when saving a plan in dxf format

Hi all

 

I want to export geometry to comsol muitiphysics 4.4 for an axisymmetric 2D model.

 

To do this, I created my geometry in SW and then made a drawing without annotations and without a basemap.

I would now like to export this basemap to comsol using the DXF format, but to do this, I need to set an origin or locate my plane at a known distance from the edges of the sheet (the origin being at the bottom left of the plan sheet in SW).

 

Do you have any ideas

 

Thank you

 

Hello

It doesn't seem to me that the DXF manages an origin. Why doesn't a record under DXF do the trick?

Why not draw your geometry, and then make file save as and choose dxf

 

From there, it will ask you for the exit origin point.

1 Like

Like this (see image)


dxf.png
2 Likes

Hello again,

 

Thank you for your answers. Actually my geometry is an assembly, so I can't choose DXF in the recording options.

 

Thank you


image1.jpg

I've needed to do this kind of thing before, and the quick way I used was to take the dxf (obtained by SW) and open it with Draftsight.

From there I shifted all the geometry (strokes) to the origin of the dxf and re-saved.

2 Likes

Thank you for this feedback, however on my pro computer, I don't have the possibility to install programs.

 

Another solution integrated with solidworks, or comsol perhaps?

And why not do as you do, but by adding a sketch point on the coi of your sheet, so by exporting in dxf, you are left with this point which corresponds to the origin =)

 

No?

1 Like

Don't have Draftsight? It is offered as standard when installing SolidWorks I think. This is Dassault's "AutoCAD".

1 Like

Hello, I advise you another method.

-Create a coordinate system in your assembly where you would like it to be.
-Save your assembly in ACIS format (. SAT), and don't forget to specify the new origin you just created as the reference origin in the save options.
-Launch Draftsight
-Enter ACISIN in the command line, and open your .sat file
-Your part will be inserted into the graphic area, with the coordinate system you have created as its origin .
-Save your sheet in .dwg
-Converting .dwg to .dxf shouldn't be a problem for you...

EDIT: sorry, you can save in .dxf directly from Draftsight.

If you have a problem with the orientation of your part in Draftsight, play with the direction of the axes of your coordinate system!

Cdt

Joss

2 Likes

I don't know if I understood the question correctly but well.

 

To have a coordinate system, why not create 2 lines representing the X and Y axes that you can align yourself with later?

Otherwise, since it is a question of recovering an outline, why not reopen the DXF with SW once created? You can then copy/paste the outline of the drawing to 3D and reposition it.

Hi all

 

Unfortunately I can't find a solution to this problem which seemed simple to me at the beginning.

For the method proposed by chamade, my problem comes from the fact that when I reimport my geometry in dxf into the 3D environment of SW, I have to reconstrain everything before moving it. Given the number of dimensions, and the number of different geometries I have to make, it seems mission impossible.

Then I had draftsight installed, but I couldn't select the geometry and set dimensions for it with respect to the origin point without distorting it or moving it to align it with my origin.

Thank you again for your help.

Once the outline has been copied in 3D, there is a "relative fixity" function on Catia that allows you to freeze the position of the lines between them without having to re-register everything. Isn't there an equivalent function on SW?

Hello

 

I'm coming back (a little late on the subject...) with a solution that may work. Here's how to do it:

  • First, position the view you want to export in a drawing
  • Then, select this view in the property manager
  • At the very bottom of it, expand "save view as"
  • Position the blue manipulator where the origin of the DXF should be
  • Save

I re-imported the generated DXF into a new drawing; It works. All that remains is to test on VideoCAM (Marcel Aubert)