@owsp/dxf-plugin
v0.13.13
Published
Nx plugin with generators for DXF conversion and helper utilities.
Downloads
163
Readme
dxf-plugin
Nx plugin with generators for DXF conversion and helper utilities.
Generators
- dxf-to-json - parse DXF and create OWSP base profile params object (
{ class, params }) - readme-by-file - create
readme.txtwith input file name
dxf-to-json validates generated params against OWSP JSON Schema for the selected profile class.
Usage
Build plugin after changes:
npx nx run dxf-plugin:buildGenerate OWSP profile params from DXF:
npx nx g @owsp/dxf-plugin:dxf-to-json \
--inputFile=tools/dxf-plugin/examples/profile.dxf \
--outputDir=tmp/dxf \
--profileClass=glazing_bead \
--profileType=glazing_beadResult file will be written to outputDir/<input-file-name>.json.
