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
3
votes
1 answer

How to know if a point intersects a 3D object in a SolidWorks generated CAD file?

For any SolidWorks generated CAD file, such as Part, IGES, STEP, ACIS, etc., is there a relatively simple way to know if a 3D point intersects a complex 3D shape? I do not need to display the object in my application. Any suggestion would be…
Mehdi
  • 2,194
  • 2
  • 25
  • 39
3
votes
1 answer

3D solid file layers to three.js json

First of all: I'm a skilled developer and a total noob of 3D solid files/drawing. I started playing with webgl and three.js. My task is to port a solid 3D file(i.e. STEP/IGES) to a web page(a sort of a cad viewer). I started from this…
wakeupneo
  • 923
  • 1
  • 10
  • 20
3
votes
1 answer

OpenCascade ErrorStatus

i use OpenCasCade 6.7.0. When I Call the function BRepAlgoAPI_Cut and check ErrorStatus() i get 114 as result. Watching in documentation i got following Information: 0 - Ok 1 - The Object is created but Nothing is Done 2 - Null source shapes…
R00st3r
  • 954
  • 1
  • 10
  • 31
3
votes
0 answers

webgl library for CAD like applications

I would like to create a few simple CAD like applications (web based, ideally portable to mobile devices). For example create a floor tile layout in 2D. There is a need to enter precise measurements (floor dimensions, tile dimensions), create a…
3
votes
1 answer

Programmatically Creating CAD Files

I need to programmatically create a CAD model. Meaning: The user sets parameters for the model and the application outputs a (insert extension here) file to use in SolidWorks / 3DStudio / Sketchup. The application generates shells (a tube, for…
Nitay
  • 4,193
  • 6
  • 33
  • 42
3
votes
1 answer

Why the zebra stripe is so bad when analyzing using isophotes?

What I want to do is apply isophotes on a surface. See the picture below (generated by SolidWorks). Check this link for more information. I use OpenGL shader technology to implement this effect. But I can not get a good effect shown the above…
wan
  • 170
  • 11
3
votes
1 answer

what's the main difference between B-Rep and Parametric representation

For solid modeling, I heard besides B-Rep, there is parametric representation. Is there any difference between those two?
Adam Lee
  • 24,710
  • 51
  • 156
  • 236
3
votes
1 answer

DXF image entity group code explanation

I'm working on a Delphi class to import/export some kind of entities from DXF file. I'd like add support for Image entity but I don't understand some group codes. I'm using official DXF guide reference (2002):…
Martin
  • 1,065
  • 1
  • 17
  • 36
3
votes
1 answer

How to install pythonOCC in the cloud, say in google app engine and run it?

I need to install pythonOCC in the cloud, say google app engine so that I can run it in the server and get the results to a browser?
3
votes
0 answers

Programmatically create models

I want to create a CAD model for the purpose of finding its properties like mass, CG, inertia etc. I want to do this programmatically because I have to vary the model slightly and get the new properties many times What CAD software should I look…
Archit
  • 913
  • 1
  • 10
  • 20
3
votes
0 answers

Reading STEP properties with pythonocc

I'm struggling to read presentation layer assignments out of an AP214 STEP CAD file with pythonocc. The file will read in, but I only get 1 shape and I'm not sure how to access any other attributes of the OCC.TopoDS.TopoDS_Shape object. I tried to…
Mark Swift
  • 63
  • 5
3
votes
2 answers

Which CAD / geometry library should I use: CGAL Open CASCADE or Boost::Geometry something else?

For a customizable laser-cut drawers project I would like to be able to create the connection between any two intersecting perpendicular "2D" objects (with width) programmatically. For this I need to: load and save 2D objects in some standard…
rantash68
  • 47
  • 1
  • 6
3
votes
1 answer

Conversion of 3D WireFrame into 3D Solid Models

I have been working with some 3D Wire Frame Models, which are essentially a large number of vertices which are joined together by edges or line segments to create a 3D Wire Frame of a 3D Object. I was wondering what would it take to convert this 3D…
arun nath
  • 773
  • 1
  • 6
  • 11
3
votes
4 answers

Collision detection using MeshGeometry3D

I am creating a CAD like program, creating modelvisual3D objects. How do i do collision detection between my objects(modelvisual3d) using MeshGeometry3D. Do i have to compare every triangle in the moving object against the still standing…
user159419
  • 71
  • 1
  • 4
3
votes
2 answers

How to Learn Flow in CATIA CAA V5 R18 c++

I am new to CAA. I have gone through CAA Documentation. I can find the interface I required for my need but I don't know from where should I query them. In CAA Documentation there is no detailed description of what the Interface is related to. How…
maha
  • 53
  • 10