Repository navigation
feat(opencadstudio): add Open CAD Studio 2D/3D DWG/DXF CAD (io.github.HakanSeven12.OpenCadStudio) - #432
Merged
Conversation
….HakanSeven12.OpenCadStudio) Open CAD Studio (formerly H7CAD) is a Rust CAD application that reads and writes DWG and DXF natively, with 2D drafting, documentation tools and kernel-backed 3D modeling. Its author submitted it to Flathub (flathub#8174); it was closed under the generative-AI policy. The app id is the one from upstream's own metainfo. The official AppImage is cracked offline with the appimage-tools prebuilt; the AppDir is one self-contained binary. Text goes through cosmic-text/fontdb, which reads the <dir> elements of a single fontconfig file and does not reach the host's fonts in the sandbox: the translated UI rendered as tofu boxes. A bundled fonts.conf lists every font directory and the wrapper points FONTCONFIG_FILE at it (Navop pattern). --socket=x11 alongside wayland because the clipboard goes through arboard. No filesystem grant; external references need the documented override. Co-Authored-By: Claude Opus 5.5 <[email protected]>
66 tasks
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What — Open CAD Studio (formerly H7CAD), a Rust CAD application for 2D drafting, documentation and 3D solid modeling that reads and writes DWG and DXF natively, as
io.github.HakanSeven12.OpenCadStudio.Why this fills a gap
Not on Flathub:
/api/v2/appstream/io.github.HakanSeven12.OpenCadStudioreturns 404 and a search by name finds nothing. Its author submitted it (flathub/flathub#8174, as H7CAD); it was closed under the generative-AI policy. The project has shipped 91 releases since March and has a large, active tracker of real CAD users (1,400+ issues and PRs). It is also the catalog's first CAD application. The app id is the one in upstream's own metainfo.Packaging
org.freedesktop.Platform//26.08. One self-contained binary (winit + wgpu); it links only libc/libstdc++ and dlopens Vulkan, EGL, Wayland, X11/xcb, xkbcommon and dbus, all in the runtime.OpenCADStudio-<tag>-linux-x86_64.AppImageplus theappimage-tools-v2prebuilt (outside the managed block).apply_extracracks the SquashFS offline and resolves the binary throughAppRun(a symlink) instead of hardcoding its name.<dir>elements of a single fontconfig file and does not reach the host's fonts from inside the sandbox, so the translated UI rendered as tofu boxes. A bundledfonts.conflists every font directory (runtime,/run/host/*fonts, user fonts) and the wrapper pointsFONTCONFIG_FILEat it, as for Navop.OPENCADSTUDIO_FONTCONFIG_FILEis the escape hatch.resolve-update.shmatchesOpenCADStudio-<tag>-linux-x86_64.AppImageexactly (the release also has a snap and Windows builds).Sandbox
--share=ipc,--socket=wayland,--device=dri(wgpu)--socket=x11, not fallback: the clipboard goes through arboard, and Flatpak's Wayland socket doesn't pass data-control, so X11 is its only route. The window itself is native Wayland.--share=network: update check and links to the project's discussionsflatpak override --user --filesystem=home.Verification
read-descriptor.mjs/audit-descriptor.mjsexit 0;tests/run-tests.shall passbuild-app.shbuilds;appstreamcli composeprintsSuccesscheck-apply-extra.sh: OK as root with no capabilitiesresolve-update.sh→2026.38, 2026-09-20, official URLLD_TRACE_LOADED_OBJECTSon the binary: 0 not foundxwayland=false), window classio.github.HakanSeven12.OpenCadStudiomatchesStartupWMClass. wgpu picked GL on this Intel Lunar Lake laptop and fell back to Vulkan for the headless path, as the app's own compatibility probe reports.fonts.conf, the Chinese UI rendered as tofu boxes; with it, every label renders.--export: DXF → DWG (AC1032 / 2018) → DXF round trip succeeds inside the sandbox, entities intact.🤖 Generated with Claude Code