# CAD in Julia?

**URL:** <https://discourse.julialang.org/t/cad-in-julia/28557>\
**Category:** Community\
**Created:** [September 9, 2019, 12:52pm UTC](https://discourse.julialang.org/t/cad-in-julia/28557 "2019-09-09T12:52:46Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![scelles](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/scelles/32/220408_2.png) [@scelles](https://discourse.julialang.org/u/scelles)\
**Post date:** [November 16, 2021, 2:00pm UTC](https://discourse.julialang.org/t/cad-in-julia/28557/21 "2021-11-16T14:00:41Z")

</div>

Hello,

Sorry to use this forum post… but that’s a bit about Julia and CAD. More exactly I wonder if there is currently a Julia library which support DXF ([Drawing eXchange Format](https://en.wikipedia.org/wiki/AutoCAD_DXF)) ?  
This is a vector format which is quite old but widely used for computer aided drawing.  
I’m currently simply looking for a way to read from Julia a DXF file containing simply a 2D drawing and draw it to a window as bitmap.  
An other step is to read a second DXF file, perform some basic transformations (rotate, move, scale) and draw it over previous window.  
Ideally I would like to also be able to perform this on Linux framebuffer (ie without having a desktop environment installed).

Kind regards

---

<div class="post-metadata">

**Author:** ![danielsreis](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/danielsreis/32/47702_2.png) [@danielsreis](https://discourse.julialang.org/u/danielsreis)\
**Post date:** [March 14, 2023, 6:35pm UTC](https://discourse.julialang.org/t/cad-in-julia/28557/22 "2023-03-14T18:35:48Z")

</div>

There is an option called Modia3D.jl

---

<div class="post-metadata">

**Author:** ![o314](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/o314/32/252_2.png) [@o314](https://discourse.julialang.org/u/o314)\
**Post date:** [March 14, 2023, 7:06pm UTC](https://discourse.julialang.org/t/cad-in-julia/28557/23 "2023-03-14T19:06:49Z")

</div>

You should have a look at [https://juliareach.github.io/LazySets.jl](https://juliareach.github.io/LazySets.jl) too  
Today is not presented as a geometry package . It comes from mech  
But it contains a lot of things that can be used to build a geometry kernel in julia (starting from halfspace)

---

<div class="post-metadata">

**Author:** ![g2g](https://avatars.discourse-cdn.com/v4/letter/g/41988e/32.png) [@g2g](https://discourse.julialang.org/u/g2g)\
**Post date:** [May 6, 2023, 11:13pm UTC](https://discourse.julialang.org/t/cad-in-julia/28557/24 "2023-05-06T23:13:52Z")

</div>

![tip](https://global.discourse-cdn.com/julialang/original/3X/9/4/94005e38431b16121caddd652a9f182ebe88d13c.gif)

Has anyone tried an approach to CAD that “extrudes” triangle faces from a rotating polygon? The approach seems to be quite general in that different shapes of rotating polygons generate a wide variety of different 3D meshes. I haven’t done it yet but I believe this approach can generate all the [Platonic solids](https://en.wikipedia.org/wiki/Platonic_solid). (I’m in the early stages of documenting this approach in the _3D Modeling for the Blind_ [essay](https://olarth.medium.com/3d-modeling-for-the-blind-ab487f11725b).)

[Previous page](https://discourse.julialang.org/t/cad-in-julia/28557.md?page=1)
