2026-07-30 14:24:41 +02:00
|
|
|
name: open-cad-studio
|
|
|
|
|
base: core22
|
2026-08-16 08:16:09 +03:00
|
|
|
# Overwritten in CI with the release version number (see .github/workflows/release.yml).
|
2026-07-30 14:24:41 +02:00
|
|
|
version: '0.0.0'
|
|
|
|
|
title: Open CAD Studio
|
|
|
|
|
summary: 2D drafting and 3D modeling with native DWG/DXF support
|
|
|
|
|
description: |
|
|
|
|
|
Open CAD Studio (OCS) is a CAD application for 2D drafting and 3D
|
|
|
|
|
modeling, built in Rust. Reads and writes DWG and DXF files natively
|
|
|
|
|
(R13 through R2018).
|
|
|
|
|
|
|
|
|
|
File formats:
|
|
|
|
|
- DWG and DXF read/write (R13-R2018)
|
|
|
|
|
- STL export, STEP AP203 export, OBJ import
|
|
|
|
|
- PDF export (plot layouts)
|
|
|
|
|
- WBLOCK, and XREF (attach/reload/auto-resolve external references)
|
|
|
|
|
|
|
|
|
|
2D drafting:
|
|
|
|
|
- Lines, polylines, rectangles, polygons, circles, arcs, ellipses,
|
|
|
|
|
splines
|
|
|
|
|
- Hatch fills with pattern, scale, and angle editing
|
|
|
|
|
- Offset, trim, extend, fillet, break, stretch, lengthen
|
|
|
|
|
- Array, mirror, move, copy, rotate, scale, explode
|
|
|
|
|
- Double-click text editing, and area/perimeter/centroid measurement
|
|
|
|
|
|
|
|
|
|
3D modeling:
|
|
|
|
|
- Solid primitives (box, sphere, cylinder), extrude, revolve, loft,
|
|
|
|
|
sweep, and 3D array
|
|
|
|
|
- ACIS tessellation for rendering 3DSOLID/REGION/BODY entities
|
|
|
|
|
|
|
|
|
|
Open CAD Studio is open source, part of the OpenAEC Foundation family
|
|
|
|
|
of applications, and rendered with wgpu for GPU-accelerated 2D/3D
|
|
|
|
|
drawing.
|
|
|
|
|
|
|
|
|
|
grade: stable
|
|
|
|
|
confinement: strict
|
|
|
|
|
|
2026-08-16 08:16:09 +03:00
|
|
|
plugs:
|
|
|
|
|
graphics-core22:
|
|
|
|
|
interface: content
|
|
|
|
|
target: $SNAP/graphics
|
|
|
|
|
default-provider: mesa-core22
|
|
|
|
|
|
|
|
|
|
layout:
|
|
|
|
|
/usr/share/libdrm:
|
|
|
|
|
bind: $SNAP/graphics/libdrm
|
|
|
|
|
/usr/share/drirc.d:
|
|
|
|
|
symlink: $SNAP/graphics/drirc.d
|
|
|
|
|
/usr/share/X11/XErrorDB:
|
|
|
|
|
symlink: $SNAP/graphics/X11/XErrorDB
|
|
|
|
|
/usr/share/X11/locale:
|
|
|
|
|
symlink: $SNAP/graphics/X11/locale
|
|
|
|
|
|
2026-07-30 14:24:41 +02:00
|
|
|
apps:
|
|
|
|
|
open-cad-studio:
|
2026-08-16 08:16:09 +03:00
|
|
|
command-chain:
|
|
|
|
|
- bin/graphics-core22-wrapper
|
2026-07-30 14:24:41 +02:00
|
|
|
command: usr/bin/OpenCADStudio
|
|
|
|
|
desktop: usr/share/applications/io.github.HakanSeven12.OpenCadStudio.desktop
|
|
|
|
|
plugs:
|
2026-08-14 09:39:29 +02:00
|
|
|
- home # open/save/export drawings in the home directory
|
|
|
|
|
- removable-media # same, on external drives / USB
|
|
|
|
|
- network # license / Patreon check
|
2026-08-16 08:16:09 +03:00
|
|
|
- opengl
|
|
|
|
|
- graphics-core22
|
2026-07-30 14:24:41 +02:00
|
|
|
- wayland
|
|
|
|
|
- x11
|
|
|
|
|
- desktop
|
|
|
|
|
- desktop-legacy
|
|
|
|
|
|
|
|
|
|
parts:
|
|
|
|
|
open-cad-studio:
|
2026-08-16 08:16:09 +03:00
|
|
|
plugin: dump
|
|
|
|
|
source: linux-payload.tar.gz
|
2026-07-30 14:24:41 +02:00
|
|
|
stage-packages:
|
|
|
|
|
- libxcursor1
|
|
|
|
|
- libxi6
|
|
|
|
|
- libxrandr2
|
|
|
|
|
- libxinerama1
|
|
|
|
|
- libxkbcommon0
|
|
|
|
|
- libxkbcommon-x11-0
|
|
|
|
|
- libfontconfig1
|
|
|
|
|
- libfreetype6
|
2026-08-16 08:16:09 +03:00
|
|
|
|
|
|
|
|
graphics-core22:
|
|
|
|
|
after: [open-cad-studio]
|
|
|
|
|
source: https://github.com/canonical/gpu-snap.git
|
|
|
|
|
plugin: dump
|
|
|
|
|
override-prime: |
|
|
|
|
|
craftctl default
|
|
|
|
|
${CRAFT_PART_SRC}/bin/graphics-core22-cleanup mesa-core22 nvidia-core22
|
|
|
|
|
prime:
|
|
|
|
|
- bin/graphics-core22-wrapper
|