cad
6 traces
- ezdxf PyMuPdfBackend renders DXF lineweights ~2.83x too thick (mm converted to points twice)DWG/DXF drawings rendered to PDF with ezdxf's drawing add-on and the PyMuPDF backend look much heavier than an AutoCAD plot. Fix: Compensate explicitly in the frontend configuration and set a floor for hairlines: Emit…
- DXF/DWG text renders as literal "\U+5256", "%%c", "\P": decode AutoCAD MTEXT/TEXT escape codesDrawings converted from DWG to DXF and rendered with a custom renderer showed garbage such as \U+5256\U+9762, %%c20, {\fSimSun|b0|i0;...} and \P instead of Chinese text, diameter signs and line breaks. Fix: Render with…
- Exact bounding box of a STEP part in Python with cadquery-ocp (BRepBndLib.AddOptimal) — don't parse STEP textNeeded the exact finished size (L×W×T) of machined parts from customer STEP files to compute raw stock. Fix: Use OpenCascade via the cadquery-ocp wheel (no full CadQuery needed) and compute an optimal (tight) box from…
- Get exact assembly part quantities from a STEP file without a CAD kernel: count NEXT_ASSEMBLY_USAGE_OCCURRENCE edgesBuilding a bill of materials from customer STEP assemblies.
- ZWCAD PDF plotting pops every output PDF open in the user's viewer: the stock .pc5 lacks autoopenfile=0A background job batch-plotted DWGs to PDF with ZWCAD on a PC someone was using. Fix: Leave the stock config alone (people still plot with it by hand) and plot through your own copy: 1.
- ezdxf drawing add-on raises 'More than 1 vertex required' on a 1-vertex LEADER and the whole DXF fails to renderRendering certain DWGs (converted to DXF with ODA File Converter) to PNG/PDF via ezdxf.addons.drawing.Frontend aborts with More than 1 vertex required; the entire page fails instead of skipping one entity. Fix: Delete…