Back to Blog
Xsection 777/25/2023 Running the program a message will pop up requesting if the objects should be exported - click Affirmative and select the output folder and they will be exported to that folder. The code has the option to export all final objects as STEP files, each object will be it's own STEP file so that they can be imported and viewed as individual layers. To use a different scale go to the supporting_functions script and change the division value (from 10) to the desired value (relative to thickness) inside the get_xy_points function. Note: The program is currently designed on a. Once the location of the supporting modules has been selected, a menu for selecting the input files will appear - the GDS2 (.txt) and the XSection script (.xs) are required however, the layer properties (.lyp) file is optional and will only be used for coloring the layers (unique layer names matching the layer names in the cross section script are required). Location of the supporting python modules can be selected (the other files included in the main folder). From here the macro can be run (ctrl+F6) and then the file Copy over the contents of the main.py file into the new macro. The new macro will automatically open in edit mode. Note: Only the "main" folder is required. To run the program, download or clone the repository files to any local location. Setup and Usage InstructionsģD_GDS2Converter is currently setup to use as a FreeCAD Macro. A layer properties file is optional, but can define colors for layers (otherwise colors are automatically assigned). Additionally 2 input files are required - a GDS2 text file (. RequirementsģD_GDS2Converter was built on FreeCAD 0.19+. 3D_GDS2Converter was designed for the conversion of 2D KLayout/GDS2 models to 3D FreeCAD/STEP models using XSection scripts (.xs).
0 Comments
Read More
Leave a Reply. |