CadQuery / CadQuery/cadquery

[SVG] svg files don't match the physical dimensions of the wires.

Open
#1,322 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
5.8k
Forks
541
Avg merge
3d 2h
Merged PRs (30d)
5

Description

As a tool for creating physical objects cadquery should produce svg that match 1:1 with the physical dimensions.
The exportSVG function produced incorectly scaled svgs. The UnitScale should be set to 3.7795 as per the svg spec.

For more information see: #1317

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the exportSVG function and inspect how UnitScale is set for SVG output. Update the scale according to the SVG specification, then verify that exported SVG dimensions match the physical wire dimensions 1:1 and review the related context in issue #1317.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-graphics
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.