Display full version of the post: CAD help to generate .sat file
ISeeCircles
17.02.2023, 13:27
Hi,I'm looking for some helpI use Visual Studio to draw circles and circle arrangements, afterwards i export the design into a CAD file, I currently use DWG and DXF. I need to generate a 3d file and export to a .SAT file format.Ideally I would like to use a 3rd party library/component to use within visual studios to save directly to a .SAT file format. other options would be to convert my DXF or DWG file to SATany help or advice would be greatly appreciated.Thank you
Vladimir Michl
17.02.2023, 15:01
I am not aware of a .SAT library. BTW, what library do you use to write DWG files?
philippe JOSEPH
17.02.2023, 16:35
Hello ISeeCircles ( and Vladimir ).You have AutoCAD 2022 so you can make there your *.sat files.On the top left of your screen you have an A, clic there and you see :New , Open , Save , Save as , Import , Export , clic on Export and scroll down to have : Other files.There it opens a panel and you choose : ACIS ( *.sat ) and choose the objects + verify the place were the *.sat will be placed.As a verify you can eventually Import your *.sat into a new AutoCAD to see the *.sat result.I personnaly give *.STEP because it's quicker to type _stepout but maybe it's better to give *.sat as it maybe keeps the eventual blocks that you have inside your DWG ( to be confirmed , thanks eventually Vladimir ).
philippe JOSEPH2023-02-17 16:38:19
ISeeCircles
17.02.2023, 16:41
Thank you for your reply,I use a library in Visual Studio called CADLib, that allows be to generate CAD files from by code/interfaces. I'm try to generate the .sat files without the use of AutoCAD. The .Sat file contains the geometry of my circle structure that gets regenerated into Ansys software. I'm trying to streamline the process to remove the manual AutoCAD step
ISeeCircles
17.02.2023, 16:43
Thank you, I use a library called CADLib, its a 3rd party library what I can utilise in Visual Studio
Vladimir Michl
17.02.2023, 17:54
So it is not a "real" DWG, just a similar format with the same extension. SAT is probably a similar problem. It has to understand the ACIS kernel to be reliable. There is an ancient attempt on GitHub: https://gist.github.com/yorikvanhavre/8f365cea53ec4d95ad22d48bc5a741cd but I doubt it is usable.