Questions tagged [cad]

Computer-aided design (CAD) is the use of computer technology for the process of design and design-documentation.

Computer-aided design (CAD) is the use of computer technology for the process of design and design-documentation. CAD is relied upon in various fields such as engineering, manufacturing and survey. Many CAD programs have an in-built means of programming their functionality. Examples being a macro language or lisp. Other programs may offer, or have had reverse-engineered, an API for more in-depth coding. There are various drawing formats, with .dxf being a ubiquitous one for interchange.

552 questions
7
votes
1 answer

Could not load file or assembly 'CopyModules.dll' or one of its dependencies. The specified module could not be found

The published app that uses WPF controls of Eyeshot Ultimate 11 throws an exception with the following message when devDept.Eyeshot.Translators.ReadAutodesk is called: Could not load file or assembly 'CopyModules.dll' or one of its dependencies.…
ab3nash
  • 156
  • 1
  • 8
7
votes
5 answers

How can I learn CAD/CAM/CNC programming?

I've always enjoyed programming and I always enjoy learning new langauges (anything e.g. Java/C#/Erlang/F#/Clojure/Ruby etc), but something's never seemed to enjoy it as much as I want. One thing I'm curious about which I'm wondering if I might…
Goody
  • 381
  • 1
  • 2
  • 10
6
votes
1 answer

Calculate the normal for the 'facet normal' in STL file format

So I have my STL code and I have been putting the normal as 0 0 0 for each triangle, as you can imagine this means that only certain software can utilise the code. What is the method for working out the normal i.e. the vector maths
Bob Bibby
  • 69
  • 2
  • 6
6
votes
3 answers

WPF, xaml Cad or drawing app examples?

I am trying to learn WPF and xaml and am writing a cad style geometry app for my kids. Does anyone know of an existing example written in VB.net? C# is fine as well. Thanks! EDIT: Any thoughts/examples on how to structure such an app? TIA
Brad
  • 1,187
  • 3
  • 23
  • 44
6
votes
2 answers

Setting default units in svg (Python svgwrite)

I'm generating SVG drawings using python's svgwrite. Every time I want to draw something, I find myself doing this ugly awkward thing: line = drawing.line(start = "%dmm" % start, end = "%dmm" % end) I wish I could just do: line = drawing.line(start…
Igor Serebryany
  • 3,307
  • 3
  • 29
  • 41
6
votes
2 answers

Are there some open source CAD libraries in Java?

I need a CAD modeling library. I've found such libraries, for example OPEN CASCADE, but they are not written in Java.To use those libraries I need a long time to learn a new programming language. Now that I'm familiar with Java. Is there anyone who…
bitcold
  • 653
  • 2
  • 8
  • 10
6
votes
6 answers

Starting point for learning CAD/CAE file formats?

We are developing some stress and strain analysis software at university. Now it's time to move from rectangles and boxes and spheres to some real models. But I still have little idea where to start. In our software we are going to build mesh and…
Escader
  • 69
  • 1
  • 2
5
votes
1 answer

Question about BSpline

Here is a data file with cluster of 3D points. Now we can form a BSpline surface out of that. dat=Import["C:\\Users\\Andy\\Desktop\\Foil.mat"]; surface=BSplineFunction[dat]; ParametricPlot3D[surface[x,y], {x, 0, 1}, {y, 0, 1}, …
PlatoManiac
  • 1,442
  • 11
  • 31
5
votes
3 answers

How to learn about the STEP file format?

I would like to create STEP files of geometry that I have generated using custom numerical methods. Given a list of coordinates, I would like to be able to write these into a file with valid STEP format. To this end, I have been searching for an…
Patch
  • 155
  • 2
  • 9
5
votes
1 answer

Winged-edge vs half-edge

I try to understand boundary representation (B-rep) and I cannot find what's the advantages of the half-edge data structure versus the winged-edge one. I've found in this book that winged-edge cannot represent the state where a vertex but no edges…
Maxence
  • 12,868
  • 5
  • 57
  • 69
5
votes
4 answers

DXF File - Won't Open in Autodesk Viewer

We're building a DXF exporter and from what I've read, this extremely simple file should be valid. We don't have any CAD tools to test with, so I'm very limited in my abilities to debug. This opens fine in the Proficad online viewer but I get an…
jenni-mm2
  • 185
  • 1
  • 2
  • 11
5
votes
2 answers

Graphics GDI+ / Direct2D and world size

I am porting a legacy CAD app to .NET. Its graphics requirements aren't very complex and GDI+ with some optimizations has good performance as long as you don't do any fancy things. However I'll support Direct2D too as it offers better experience and…
GorillaApe
  • 3,611
  • 10
  • 63
  • 106
5
votes
1 answer

Best tool to generate STL (3-D geometry file) algorithmically?

I have a simple project in mind that would take a long list of triplets as input (coordinates describing a path in 3 dimensions), and generates an STL file as output. (STL is a file format that describes 3-D surface geometry for use in CAD and 3-D…
nivek
  • 515
  • 1
  • 7
  • 18
5
votes
2 answers

What's the main difference between B-Rep and Mesh index represation

I know B-Rep (ParaSolid) is the popular solid representation. From my past experience, I always touch the triangle mesh representation like OBJ, STL file format. I am wondering why B-Rep is better than mesh representation? What's the main…
Adam Lee
  • 24,710
  • 51
  • 156
  • 236
5
votes
2 answers

Javascript/canvas renderer for CAD/AutoCAD files

Does anyone know if there's a parser for autocad/cad formatted files in javascript? Or perhaps something server side which can translate cad files to collada so that three.js (and some of the other engines) could read them? Thanks very much for any…
Alex
  • 3,732
  • 5
  • 37
  • 59
1
2
3
36 37