6a0b9169d6169abf9e4d36417b7fa6c943821438
The acadrust DWG reader never assigns a viewport id (always 0). Some DXF exporters use id=-1 for all viewports. In both cases the previous id > 1 check excluded every viewport from content rendering. Replace is_user_viewport_id(id) with is_content_viewport(vp) that uses a geometry heuristic for unknown ids (0 / negative): - id=1 → always sheet viewport (excluded) - id≥2 → always user viewport (included) - id=0 or id<0 → sheet if center≈(0,0) AND scale≈1.0, else user This allows DWG files and non-standard DXF files to display model content inside their paper-space viewports and be entered via double-click. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
H7CAD
A CAD application for 2D/3D drawing and design, built with Rust.
Features
- 2D drafting and 3D modeling
- DXF file import/export
- GPU-accelerated rendering via WebGPU
- Snap and annotation tools
- Modular ribbon interface (Home, Annotate, Insert, View, Manage)
Installation
Flatpak (Linux)
Download H7CAD.flatpak from the latest release, then:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install H7CAD.flatpak
flatpak run io.github.HakanSeven12.H7CAD
Build from Source
Requirements: Rust 1.75+
git clone https://github.com/HakanSeven12/H7CAD.git
cd H7CAD
cargo build --release
./target/release/H7CAD
License
GPL-3.0-only — see LICENSE
Description
OneBSpace rebrand of OpenCADStudio -> OneCAD Draft (2D drafting / 3D modeling studio) + native Odoo Documents integration (open/save/write-back). Member of the OneCAD family. Upstream: opencadstudio-upstream. Addon: one_cad_draft.
249 MiB
0 Stars
1 Watchers
0 Forks
Languages
Rust
70.8%
Fluent
27.8%
WGSL
0.5%
Python
0.3%
TypeScript
0.2%
Other
0.2%