[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-94565":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":9,"totalLinesOfCode":9,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":9,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":19,"hasPages":19,"topics":9,"createdAt":9,"pushedAt":9,"updatedAt":21,"readmeContent":22,"aiSummary":23,"trendingCount":16,"starSnapshotCount":16,"syncStatus":24,"lastSyncTime":25,"discoverSource":26},94565,"OpenCADStudio","HakanSeven12\u002FOpenCADStudio","HakanSeven12","A CAD application built with Rust — 2D\u002F3D drawing, DWG\u002FDXF support, and GPU-accelerated rendering",null,"https:\u002F\u002Fgithub.com\u002FHakanSeven12\u002FOpenCADStudio","Rust",781,86,12,83,0,38,50.62,false,"main","2026-08-24 04:01:22","# Open CAD Studio\n\n[![Release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002FHakanSeven12\u002FOpenCADStudio)](https:\u002F\u002Fgithub.com\u002FHakanSeven12\u002FOpenCADStudio\u002Freleases\u002Flatest)\n[![Downloads](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fdownloads\u002FHakanSeven12\u002FOpenCADStudio\u002Ftotal)](https:\u002F\u002Fgithub.com\u002FHakanSeven12\u002FOpenCADStudio\u002Freleases)\n[![Stars](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002FHakanSeven12\u002FOpenCADStudio)](https:\u002F\u002Fgithub.com\u002FHakanSeven12\u002FOpenCADStudio\u002Fstargazers)\n[![License](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002FHakanSeven12\u002FOpenCADStudio)](LICENSE)\n\nOCS is a CAD application for 2D drafting and 3D modeling, built with Rust. Reads and writes DWG and DXF files natively. Also has a web version now!\n\n## OCS Web try it in the browser: https:\u002F\u002Fhakanseven12.github.io\u002FOpenCADStudio\u002F\n\n\u003Cimg width=\"1920\" height=\"940\" alt=\"resim\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F10635ad0-454b-4c87-935f-1a3a46f24ccb\" \u002F>\n\u003Cimg width=\"1920\" height=\"940\" alt=\"resim2\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F2a037a09-e8e8-498c-8ed3-58ecb8ae958d\" \u002F>\n\n## Features\n\n### File Formats\n- **DWG** read\u002Fwrite (R13 through R2018)\n- **DXF** read\u002Fwrite (R13 through R2018)\n- **STL** export (`STLOUT` \u002F `EXPORTSTL`)\n- **STEP AP203** export (`STEPOUT`)\n- **OBJ** import (`IMPORTOBJ`)\n- **PDF** export (plot layouts to PDF)\n- **WBLOCK** — write selected entities or a block to an external file\n- **XREF** — attach, reload, and auto-resolve external references\n\n### 2D Drafting\n| Command | Description |\n|---------|-------------|\n| `LINE`, `PLINE`, `RECTANG`, `POLYGON` | Basic geometry |\n| `CIRCLE`, `ARC`, `ELLIPSE`, `SPLINE` | Curves |\n| `HATCH`, `HATCHEDIT` | Hatch fills with pattern, scale, angle editing |\n| `OFFSET`, `TRIM`, `EXTEND`, `FILLET` | Modify geometry (supports lines, arcs, ellipses, polylines, splines) |\n| `BREAK`, `STRETCH`, `LENGTHEN` | Shape editing |\n| `ARRAY`, `MIRROR`, `MOVE`, `COPY`, `ROTATE`, `SCALE` | Transformations |\n| `EXPLODE` | Explode blocks, dimensions, polylines, mlines |\n| `DDEDIT` | Double-click text editing |\n| `MASSPROP` | Area, perimeter, centroid of selected entities |\n\n### 3D Modeling\n| Command | Description |\n|---------|-------------|\n| `BOX`, `SPHERE`, `CYLINDER` | Solid primitives |\n| `EXTRUDE`, `REVOLVE` | Profile-based solids |\n| `LOFT` | Ruled-surface loft through cross-sections |\n| `SWEEP` | Sweep a profile along a path |\n| `ARRAY3D` | 3D array |\n| ACIS tessellation | Renders `3DSOLID`, `REGION`, and `BODY` entities |\n\n### Annotations & Dimensions\n- **Dimensions**: Linear, Aligned, Angular, Radial, Diameter, Ordinate — with full `DIMSTYLE` support (`DIMASZ`, `DIMSCALE`, `DIMEXO`, `DIMEXE`, and more)\n- **Text**: `MTEXT`, `TEXT`, `DTEXT` with font browser (`STYLE DIALOG`)\n- **Leaders**: `MLEADER` with straight and spline path types; `MLEADERSTYLE` manager\n- **Tolerances**: GD&T feature control frames\n- **Tables**: `TABLE` entity render; `TABLESTYLE` manager\n- **MLine**: `MLINE` entity with `MLSTYLE` manager and `EXPLODE` support\n\n### Paper Space & Layouts\n- Multi-tab layout system with model space and unlimited paper space tabs\n- **Viewport projection**: Model content correctly projected into paper-space viewport rectangles\n- **Camera persistence**: View position and zoom saved per layout; restored on file open and tab switch\n- **Correct paper size**: Physical paper dimensions read from embedded PlotSettings (not drawing limits)\n- Inline MSPACE overlay — enter a viewport with double-click; edit model entities in place\n- `VPORTS` — preset viewport configurations (single, 2H, 2V, 4-way)\n- `LAYOUTMANAGER` \u002F `LAYOUTPANEL` — GUI layout manager\n- `PLOTSTYLEPANEL` \u002F `STYLESMANAGER` — plot style table editor (CTB\u002FSTB)\n- `PRINT` — send layout to system printer\n\n### Blocks & References\n- `INSERT` with attribute prompting (`ATTREQ`)\n- `ATTEDIT` — edit block attribute values interactively\n- `REFEDIT` \u002F `REFCLOSE` — in-place block reference editing\n- `XREF` — attach, reload, and resolve external DWG\u002FDXF references\n- `DATAEXTRACTION` — export entity property data to CSV\n\n### Snapping & Precision\n- Object snaps: Endpoint, Midpoint, Center, Node, Quadrant, Intersection, Perpendicular, Tangent, Nearest, Insertion, and more\n- Ellipse arc endpoints, LWPolyline arc midpoints, Hatch boundary points\n- **Object Snap Tracking** (`OTRACK` \u002F `F11`)\n- **Polar Tracking** with configurable angle increment\n- **Dynamic Input** overlay (`DYNMODE` \u002F `F12`)\n- Grid snap with adaptive spacing\n- Command history navigation (↑ \u002F ↓)\n\n### Rendering\n- GPU-accelerated via WebGPU (wgpu)\n- 4× MSAA anti-aliasing\n- Orthographic and perspective camera\n- ViewCube with face\u002Fedge\u002Fcorner snapping\n- **Wide polylines**: LWPolyline and Polyline2D filled strokes\n- **Raster images**: GPU-textured quad pipeline (`IMAGE` command)\n- **Wipeout**: Solid fill masking\n- **Complex linetypes**: Text and shape elements rendered in linetype patterns\n- White\u002Fblack entity colors adapt to background luminance\n- Per-viewport background color (`BACKGROUND`)\n- Visual style selector (Wireframe, Shaded, etc.)\n- X-ray ghost pass for selected wires occluded by geometry\n\n### UI\n- Modular ribbon interface — Home, Insert, Annotate, View, Manage, Layout\n- Command line with autocomplete and history\n- Layer Manager with per-viewport freeze columns\n- Properties panel\n- `COLORSCHEME` — runtime theme switching\n- `SHORTCUTS` — keyboard shortcuts panel\n- `SPLINEDIT` — close, open, reverse spline control points\n- UCS icon with 3D foreshortening and axis labels\n\n## Installation\n\n### Linux (AppImage)\n\nDownload `OpenCADStudio-*-linux-x86_64.AppImage` from the [latest release](https:\u002F\u002Fgithub.com\u002FHakanSeven12\u002FOpenCADStudio\u002Freleases\u002Flatest), then:\n\n```bash\nchmod +x OpenCADStudio-*-linux-x86_64.AppImage\n.\u002FOpenCADStudio-*-linux-x86_64.AppImage\n```\n\nNo installation required — runs directly on any modern Linux distribution.\n\n### Windows\n\nDownload `OpenCADStudio-*-windows-x86_64.exe` from the [latest release](https:\u002F\u002Fgithub.com\u002FHakanSeven12\u002FOpenCADStudio\u002Freleases\u002Flatest) and run it directly. Windows SmartScreen may show \"Windows protected your PC\" because the binary is not yet code-signed — click **More info → Run anyway**.\n\n### macOS (Apple Silicon)\n\nApple Silicon (M-series) only; Intel macOS isn't built. The app is ad-hoc signed but **not Apple-notarised** (notarisation requires a paid Apple Developer ID), so macOS Gatekeeper guards the first launch. Pick whichever path is easiest:\n\n**Option A — Homebrew (recommended):**\n\n```bash\nbrew install --cask --no-quarantine \\\n  https:\u002F\u002Fraw.githubusercontent.com\u002FHakanSeven12\u002FOpenCADStudio\u002Fmain\u002Fpackaging\u002Fhomebrew\u002Fopen-cad-studio.rb\n```\n\n`--no-quarantine` lets Gatekeeper skip the unsigned-app prompt. See [`packaging\u002Fhomebrew\u002F`](packaging\u002Fhomebrew\u002F) for publishing this as a `brew tap`.\n\n**Option B — manual .dmg:**\n\nDownload `OpenCADStudio-*-macos-arm64.dmg` from the [latest release](https:\u002F\u002Fgithub.com\u002FHakanSeven12\u002FOpenCADStudio\u002Freleases\u002Flatest), open it, and drag `OpenCADStudio.app` to `\u002FApplications`. If the first launch is blocked, clear the quarantine flag once:\n\n```bash\nxattr -dr com.apple.quarantine \u002FApplications\u002FOpenCADStudio.app\n```\n\nOn older macOS you can instead right-click `OpenCADStudio.app → Open` and confirm; on macOS Ventura and later, approve it via **System Settings → Privacy & Security → Open Anyway**.\n\n### Build from Source\n\nRequirements: Rust 1.75+\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FHakanSeven12\u002FOpenCADStudio.git\ncd OpenCADStudio\ncargo build --release --bin OpenCADStudio\n.\u002Ftarget\u002Frelease\u002FOpenCADStudio\n```\n## Star History\n\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FHakanSeven12\u002FOpenCADStudio\u002Fstargazers\">\n \u003Cpicture>\n   \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fhakanseven12.github.io\u002FOpenCADStudio\u002Fstar-history-dark.svg\" \u002F>\n   \u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"https:\u002F\u002Fhakanseven12.github.io\u002FOpenCADStudio\u002Fstar-history-light.svg\" \u002F>\n   \u003Cimg alt=\"OpenCADStudio GitHub star history\" src=\"https:\u002F\u002Fhakanseven12.github.io\u002FOpenCADStudio\u002Fstar-history-light.svg\" \u002F>\n \u003C\u002Fpicture>\n\u003C\u002Fa>\n\n## License\n\nGPL-3.0-only — see [LICENSE](LICENSE)\n","Open CAD Studio 是一款基于 Rust 开发的开源 CAD 应用，支持 2D 制图与 3D 建模。核心功能包括原生读写 DWG\u002FDXF（R13–R2018）、STL\u002FSTEP\u002FOBJ\u002FPDF 等多格式导入导出，GPU 加速渲染，以及完整的图层、标注、尺寸、布局与外部参照（XREF）支持。其命令体系兼容主流 CAD 操作习惯，同时提供 Web 版本，可直接在浏览器中运行。适用于机械设计、建筑制图、教育实训等对轻量级、跨平台、文件兼容性要求较高的工程制图场景。",2,"2026-08-12 02:30:05","trending"]