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
4
votes
3 answers

Is it possible to convert dwg to pdf using Python

Is it possible to convert Dwg to pdf file using Python? I have multiple Dwg files that need to convert to pdf. I am experimenting to create an app to convert but can not find any solution? Please, if you have any idea help.
Abdulla Salimov
  • 139
  • 2
  • 9
4
votes
2 answers

How do I calculate the volume of an object stored in STL files?

I have .stl (STL is a file format native to the stereolithography CAD software created by 3D Systems) files, from which I must calculate the volume. How do I do this? I'm using the calculation below but the volume is not equal to that calculated by…
4
votes
1 answer

Difference between Game Engine vs Physics Engine vs Geometric modeling kernel

"The rendering engine generates animated 3D graphics by any of a number of methods (rasterization, ray-tracing etc.). Instead of being programmed and compiled to be executed on the CPU or GPU directly, most often rendering engines are built upon one…
readonly
  • 89
  • 7
4
votes
0 answers

Tesseract Unknown Font training

I have been trying to train Tesseract 4.0 to recognise "customized" font from an engineering blueprint. I've followed the necessary steps using Training Tesseract from here…
Ankita
  • 41
  • 1
4
votes
2 answers

Selecting edges and vertices of a Solid3D entity in Eyeshot 11

I have a Solid3D object inside a block and need to select its edges. I tried: viewport.SelectionFilterMode = selectionFilterType.Edge; viewport.ActionMode = actionType.SelectByPick; As the block is treated as a single object, doing so would…
4
votes
6 answers

CAD/CAM without C++

Is it possible to do CAD/CAM software without having to use C++? My company developed their software with c/C++ but that was more than 10 years ago. Today,there is a lot of legacy code that switching would force us to get rid of but i was wondering…
ak3nat0n
  • 6,060
  • 6
  • 36
  • 59
4
votes
0 answers

Reading DWG file in Python and extracting edge points

I have a DWG file in which I have a rectangle with several lines in it (e.g. floor plan with interior walls). How can I use Python to extract the edges (X,Y Coordinates)? I need to extract the floor plan as a graph with nodes and edges defined. So…
USC.Trojan
  • 391
  • 5
  • 14
4
votes
2 answers

Parsing a CAD or BIM file and fetching/exporting the 'Layer Name'

Sound-byte Question: How easy or difficult is it to parse a CAD/BIM file and return(export) just the names of those 'Layers, Sheets, or Worksets' contained within? More Detailed Question: I'm a practicing architect (not the software kind, but the…
Ryan Schultz
  • 307
  • 4
  • 17
4
votes
4 answers

3D CAD Viewer to Embed in Web Page

We currently are using an ActiveX control from Siemens called JT2G0 viewer to embed a 3D viewer inside a web page. However, I would like to find other comparable products to research and I'm having a hard time finding 3D CAD viewers that can be…
ChrisNel52
  • 14,655
  • 3
  • 30
  • 36
4
votes
1 answer

Which Eyeshot entity is more efficient?

I am using the WPF Control Eyeshot (http://www.devdept.com/) to build an application where I handle multiple 3D entities, but I do not perform boolean operations between them. Eyeshot offers me the following options for entities of this sort…
celsound
  • 59
  • 8
4
votes
1 answer

Getting (t, c, k) values from OpenCascade surfaces

I've created a library for creating and using b-spline surfaces in Python, utilizing parallel scipy.interpolate.RectBivariateSpline() instances to hold the knot vectors, (X, Y, Z) control point mesh, and degrees in u and v (the (t, c, k) tuple…
subnivean
  • 1,132
  • 11
  • 19
4
votes
1 answer

Where can I find resources on VectorScript programming language?

Where one can learn more about VectorScript (the Pascal-like programming languaged built into NNA VectorWorks CAD application) to create custom "plug-in" objects and tools ?
villares
  • 333
  • 2
  • 12
4
votes
0 answers

Polyline Offsetting using Clipper

I am using Clipper Library in which it is quite easy to do Polygon Offsetting, BUT MY PROBLEM IS TO DO POLYLINE OFFSETTING preferably using Clipper. While searching on web I found a function called OffsetPaths, but the function offsets in two…
Aditya
  • 149
  • 1
  • 8
4
votes
2 answers

API in Java for STEP (p21) - to create STEP compliant files

I'm interested in writing Java to automate the creation of 3D STEP files (CAD format). There seems to be something for C++ (https://github.com/stepcode/stepcode). There seem to be Java implementations of 3D CAD software (http://brlcad.org/). …
user3533030
  • 359
  • 3
  • 17
4
votes
0 answers

Three.js: Best way to draw lots of triangles (50k +) with alpha color

I'm currently building a web application to visualize CAD / CAE data. data is an array with all my triangles. My first approach to draw the triangles is to create one geometry: triangles = new THREE.Geometry(); And then add all triangles to it: …
endofsource
  • 354
  • 5
  • 18
1 2
3
36 37