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
2
votes
0 answers

How to draw a circle by polyline in CADlib?

In the demand, I should draw a circle by polyline ,which should draw by a software developed by C# and the library CADlib. This is the document about polyline: http://www.woutware.com/doc/cadlib4.0/html/3a2347ab-838e-26ca-5aed-889ec5f96526.htm I…
lanhao945
  • 427
  • 5
  • 21
2
votes
3 answers

Dealing with imprecision in CAD drawing

I have a CAD application, that allows user to draw lines and polygons and all that. One thorny problem that I face is user drawing can be highly imprecise, for example, a user might want to draw two rectangles that are connected to each other. Hence…
Graviton
  • 81,782
  • 146
  • 424
  • 602
2
votes
2 answers

silhouette rendering with webgl / opengl

I've been trying to render silhouettes on CAD models with webgl. The closest i got to the desired result was with fwidth and a dot between the normal and the eye vector. I found it difficult to control the width though. I saw another web based…
pailhead
  • 5,162
  • 2
  • 25
  • 46
2
votes
1 answer

Can I Run a CAM simulation and a plugin simultaneously in Siemens NX?

We have a plugin (.dll) written using SNAP for NX that captures images, running through NX open execute. The purpose of this is to capture images from the CAM simulation, but NX appear to be preventing us from executing the two at the same time. Is…
Jozef Pietrzak
  • 109
  • 1
  • 12
2
votes
1 answer

How can I change the underlying geometry of a TopoDS_Shape in OpenCASCADE

I am trying to change the geometry of an existing TopoDS_Shape in OpenCASCADE. A possible application is for modifying an edge of a body without the need to reconstruct the whole body (e.g. change the radius of one cap of a cylinder, shift a control…
BR123
  • 322
  • 3
  • 16
2
votes
0 answers

Mechanical dimensions from points

How to draw the line (blue) from 2D vertices (automatically adding edges)? How to add mechanical dimensions (black)? I could use PHP to draw the 1. Anyone knows any library or hint for doing the 2. (for instance in JS)? Some insights: The…
peter.babic
  • 3,214
  • 3
  • 18
  • 31
2
votes
2 answers

Creating a circular arc tangent to two curves with specified radius

The operation mentioned in the title is common in many Computer Aided Design (CAD) softwares such as AutoCAD, where it is called fillet. However, I found it is really difficult to implement this function in my own program. The method I thought of is…
user1446072
  • 83
  • 1
  • 8
2
votes
1 answer

How to interpret parasolid x_t file in order create an importer in Java

Am trying to create an importer to import a parasolid x_t file in order to convert it to another format. I have tried to understand the "Parasolid XT Format Reference" documented and its explanation of the parasolid x_t format but with no luck. Can…
mpyne
  • 241
  • 2
  • 8
2
votes
1 answer

How is the Mono.Cairo performance like?

I was thinking of using Mono.Cairo as the foundation for a light weight CAD system. But wasn't sure what the performance was like. CAD systems produce a lot of redraws and can have a lot of data in them, with a ton of text. If not Cairo then any…
Donny V.
  • 22,248
  • 13
  • 65
  • 79
2
votes
2 answers

export cad formats from unity3d

I've been trying to export certain things in my scene as a cad file (like dxf or dwg) but so far nothing. I know dxf is an ASCII format but I couldn't crack it (like I did with fbx). and I've found some resources but they are for the newer versions…
Henjin
  • 528
  • 2
  • 9
  • 19
2
votes
1 answer

Find difference between two 3D shapes using devDept Eyeshot

What's the best algorithm to find the difference in two three dimensional shapes loaded in devDept Eyeshot? I have loaded the two shapes from CAD files in Eyeshot and want to highlight the difference in the shapes. Thanks in advance.
ganeshran
  • 3,512
  • 7
  • 41
  • 69
2
votes
0 answers

How to determine the relationship between faces, bend angles, etc from a iges CAD model

Hie guys I'm working on an web app for feature extraction from an IGES(file format) CAD model. I have extracted and stored all the entities from the iges file e.g shell entity, face entity, loop, edges, and vertex entity. Also I managed to draw the…
Minathe
  • 630
  • 1
  • 5
  • 21
2
votes
0 answers

SpaceClaim 2014 export to STEP don't work

I want to export my project from SpaceClaim2014 to STEP file but i dont know how - i try simply to save file as but there is no option to save file as .step or .stp file and when I tried to put .step in filename it resulted with output file like…
Pierwiastek
  • 134
  • 9
2
votes
0 answers

Trigger MeshLab reload by script

Is it possible to reload a 3d object in MeshLab by an external script? I know reloading an object can be achieved by pressing the refresh button (see image below). However, I would like to know if this behaviour can be triggered externally. The…
MAcabot
  • 524
  • 5
  • 14
2
votes
1 answer

Automated Design in CAD, Analysis in FEA, and Optimization

I would like to optimize a design by having an optimizer make changes to a CAD file, which is then analyzed in FEM, and the results fed back into the optimizer to make changes on the design based on the FEM, until the solution converges to an…