Questions tagged [cad]

1

votes
1

answer
117

Views

New embedded schema format for Parasolid v30?

I have two binary Parasolid files from v30 (internal modeller string is 3000226, schema string is SCH_3000226_30000_13006). In it, the embedded schema information for older types is as defined in the latest copy I have of the Parasolid XT Format Reference. However, for entity type 204 (introduced...
colomon
1

votes
0

answer
123

Views

BricsCAD programming with c# ERROR : System.BadImageFormatException and system.io.filenotfoundexception

I have a problem with programming BricsCAD with c# in visual studio 2017. Firstly i hava a error ''System.BadImageFormatException' ocurred in System.Windows.Forum.dll // additional information:'TD_Mgd Version=3.6.0.0 Culture=Neutral PublicKeyToken=null'' when running C# program. Than i changed .NET...
1

votes
0

answer
107

Views

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 could not find the way to draw a circle by polyline,co...
bigpang
1

votes
0

answer
105

Views

Export CATIA - Maya to Unity Issue

Good morning, I've been trying to export a CATIA project file (.CATProduct) to Unity. To do so, I was trying to use Maya in order to create a .fbx file and then import it to Unity as an asset. However, I don't know why I can't see anything in the Scene when I put it into the Hierarchy Panel. First...
HoloAir
1

votes
2

answer
46

Views

Open a file in a new instance of program

All; I have a bit of code I've written that opens a design blueprint when I scan a bar code. It works well enough, but I'd like to open a new instance of the design software (Solidworks) and have the print display in the new instance. Right now, no matter how many Solidworks instances I have open, t...
mystic_muffin
1

votes
1

answer
50

Views

How to visualizing .stp file in 3d using OpenCascade?

I have read the .stp files using OpenCascade library, but I am not able to visualize it. How to use OpenCascade library to visualize (render) the .stp file.
Avinash
1

votes
0

answer
21

Views

does revit import xdata contains in a dwg file? if not, why?

I need to collect xdata information pf .dwg file in revit. but I did not find a way to do that. I'm wondering whether this kind of information is also imported as other information? I think revit should import this kind of information. because I noticed that when revit export to dwg file, it did in...
BianChengNan
1

votes
0

answer
72

Views

Convert linestring to polygon of geojson file in Geopandas

I have the following CAD file in dxf format which display in autocad looking like: I convert it to geojson format file named test.geojson with GDAL org2org but all in type: LineString { 'type': 'FeatureCollection', 'name': 'entities', 'features': [ { 'type': 'Feature', 'properties': { 'Layer': '0' }...
ahbon
1

votes
1

answer
73

Views

Translate VBAmacro to VBscript inside nanoCAD

I'm try to translate a VBAmacro working in autoCAD to VBscript to work with nanoCAD. And step by step i move line from VBAmacro to VBscript and see if everything is working so... I check every entity in ModelSpace For c = 0 To ThisDrawing.ModelSpace.Count - 1 if is a 'AcDbBlockReference' then I chec...
tracciatura.net
1

votes
3

answer
238

Views

How to construct a mesh from given edge points?

I have some points on the edge(left image), and I want to construct a mesh(right), Is there any good algorithm to achieve it? many thanks! image can see here http://ww3.sinaimg.cn/large/6a2c8e2bjw1dk8jr3t7eaj.jpg
Mesh008
1

votes
1

answer
2.2k

Views

Triangle vertex winding order in stereolithography (STL) files (triangulated objects)

I'm working on an STL file importer and thought I'd make use of the normal given to determine the triangle winding order. Sample data with 4 triangles is included below (original data has over 70k triangles). My code's logic computes the normal assuming the vertices are specified anticlockwise, then...
PeteUK
1

votes
1

answer
1.5k

Views

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 can I learn the flow.
maha
1

votes
1

answer
220

Views

How to construct ground surface of infinite size in a 3D CAD application?

I am trying to create an application similar in UI to Sketchup. As a first step, I need to display the ground surface stretching out in all directions. What is the best way to do this? Options: Create a sufficiently large regular polygon stretching out in all directions from the origin. Here there i...
Agnel Kurian
1

votes
1

answer
1.5k

Views

Stuck in programming this Console application for Solid Edge

I'm trying to make a visual basic console application for a 3D CAD program Solid Edge, in this console application I want visual basic to make curves in it. I want to make these curves with an 4th degree equation.The data used for the equation is stored in a space dilimited text file. In the text fi...
Andries_K
1

votes
3

answer
552

Views

a simple exchange format for 2d vector paths

I am looking for a way to transfer simple 2d paths from a CAD program like AutoCAD to my program. The format should be as simple as possible to parse. The program is written in c#. There will be one or at most very few paths per file, and the paths may be open or closed. I have been looking into the...
HugoRune
1

votes
2

answer
1.9k

Views

2D CAD canvas implementation

I want to develop a C# basedsimple interactive 2D cad canvas to display simple objects like lines, arc, text. I want to perform object selection and editing too. I want to evaluate options since it is the beginning stage. I did considerable amount of survey and still I am open to new ideas. Some of...
RobinAtTech
1

votes
1

answer
840

Views

Is there any browser plugin or js library that allows rotate 3D DWG objects?

Have you seen somthing like this? I tryed http://www.autodwg.com/dwg-viewer/dwgviewx.htm, but it seems it supports just 2D objects Another problem is taht it should work under IE8.
Odoakr
1

votes
1

answer
264

Views

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
1

votes
2

answer
947

Views

How is one NURBS surface rendered?

I know that GPU is efficient for rendering triangles. GPU can't render NURBS surface directly. From the link NURBS in the OpenGL Graphics Pipeline, we know that. To render NURBS, triangulation is required. I don't know where triangulation operation occurs. Is it performed by CAD modeling software...
Jogging Song
1

votes
1

answer
149

Views

ArchiCAD GDL Stop parameters being changed multiple times in one operation

If an integer parameter is increased by 1 in the parameter script, e.g. parameters test = test + 1 the script may run multiple times during one user operation. A parameter that is assigned 1 to start with could then be 4 after one single user operation. Is there a workaround for this?
Mark
1

votes
2

answer
812

Views

Is it possible to programatically create labels in AutoCad?

Our engineering department wastes a great amount of time reviewing drawings for errors. The majority of these problems involve human errors in labeling (ie. two rooms have the name 01-01-00-RM). Our IT department has come up with a partial solution by automation the room names. However, the engineer...
puk
1

votes
2

answer
685

Views

Android export as .dwg

I'm new in Android and CAD. I need to do an app in which user can draw objects and after export as .dwg format to open in AutoCAD and make some changes. How I can export it as .dwg? Is there any java libraries? I found library YCad to deal with .dxf format. Can you please explain me disadvantage of...
Jumper
1

votes
1

answer
252

Views

Cad automation software GUI testing

We are working on a CAD automation software. The software requires the user to click on a certain surface in the 3D Model during the process. This surface is similar in most of the parts we will use, but requires to move the camera around the part to find it(Click&Drag). Do you know any GUI testing...
siver
1

votes
1

answer
91

Views

How to remove/locate invalid object in my dxf file?

When I open a particular Dxf file in LibreCAD, the command line dialog box in libreCAD says : Invalid objects removed : 1 I want to detect this invalid object in my dxf file and remove it. When does an object become invalid? What does an invalid object mean?
Kumar Ashish
1

votes
2

answer
736

Views

Java3D 3D CAD file import and display

My client has a 3D AutoCad DWG file of a structure that I'd like to import, display in Java3D and interact with as part of a larger program. So I'm wondering what to convert the DWG to for easy import and whether Java code exists to display it. I've got experience using Java3D to render models of th...
UnixNerd
1

votes
1

answer
66

Views

Python - search for string, extract number from line and append to list

I am working with a STEP file format which I want to parse, extract information and store it in arrays so I can call upon and perform mathematical operations on them later in the program. Below is an example of the data I am working with (advanced_face references face_outer_bound later in the data f...
Darren Taggart
1

votes
1

answer
335

Views

How to find dimensions of a shape in DXF in python?

I am trying to get the shape's dimensions, from dxf files. I tried looking into dxfgrabber and ezdxf libraries, I took the lowest and highest points to get the dimensions, but the result was wrong. Using dxfgrabber: import dxfgrabber import numpy as np import sys dxf = dxfgrabber.readfile(sys.argv[1...
Akash Jobanputra
1

votes
1

answer
0

Views

Is there a lightweight editor for solidedge's .dft files

I am looking for light weight editor for solid edge's(CAD) .dft files. I appreciate any help. Thanks.
Josh R
1

votes
2

answer
0

Views

A different approach to understanding programming [closed]

I am new to programming. I decided to stick with Python after messing around with objective-c. I'm beginning to get a grasp on most of the basic concepts, but as an artist, I think visually. This said, I would like to attempt to work in reverse. In other words, I'd like to start out with a complete...
mantissa45
1

votes
1

answer
0

Views

Python: To export the scene in VPython as common 3D vector file

Is there any way to export the scene drawn by VPython as DXF/DWG/3DS or any other common 3D vector formats?
Developer
1

votes
1

answer
47

Views

Storing data from a equation into an array [closed]

I'm trying to automate a 3D CAD program with Solid edge with Visual Basic 2003. In there I want to make curve lines with an 4th degree equation. I got the following form the Solid Edge SDK objBSplinecurves.AddByPoints(Order:=x, ArraySize:=x, Array:=x) My question: is it possible to loop the equation...
Andries_K
1

votes
2

answer
432

Views

Is it possible to model polar coordinates in WebGL

I want to convert a set of coordinates into polar coordinates (the easy part), and then model them on a polar 3D grid. Is this possible using WebGL or are only Cartesian coordinates supported?
BigBoy1337
1

votes
1

answer
1.4k

Views

How to extract just the visualization data from the solidworks files .sldprt and .sldasm in a standalone application?

Maybe like converting .sldprt to stl or step file outside solidworks. I dont want to create this using a plugin for solidworks.. I know that visualization data is public but the original geometry and brep data is stored in proprietary format of solidworks..
Varun Bhartiya
1

votes
1

answer
712

Views

command line program to list layers in a DXF/DWG file

I have a CAD file and I'd like to do some scripting with it and was hoping for a little software program that could just give me a list of the layers. I tried (on mac and windows) to get CAD::Drawing from cpan working (perl) to no avail. Could somebody point me to either a library (more or less a...
Jeef
1

votes
1

answer
2k

Views

YCAD Library Usage

I started using the YCAD Library. The problem is that I cannot find any usage instructions and I am kind of confused because I have no idea how to use it. I am hoping that somebody here used it before or is using it now so he/she can give me some tips how to use the library. Thank you in advance. PS...
chikito1990
1

votes
2

answer
818

Views

Extract CAD from Windchill PLM

I am trying to retrieve the CAD model of a part in order to store it in an external application. I started doing that with info*engine. With info*engine i can retrieve the history of a part, or link two parts together but i didn't find a way to extract the part from windchill. Any one have an idea h...
Anis D
1

votes
1

answer
507

Views

Draw large number (10M) of 2d polygons with opengl

I'm working on a CAD software which need to show circuit blueprint containing more than 10M 2d polygons. Each polygon is simple, 95% of them are only rectangles, others have fewer than 10 vertexes. In order to show the whole design, I will need to create a huge vertex buffer which will definitely bl...
CyberSnoopy
1

votes
1

answer
244

Views

exported to STL on MeshLab is no longer a text file

I have an .stl file produced by a scanner with a lot of triangles. I want to use that data to create a hole repair algorithm. To prepare the data, I want to reduce the amount of vertices. First, I use the MeshLab 'Quadratic decimation' reduction filter. After that, I try to export the mesh as .stl...
Javier Chauvin
1

votes
1

answer
2.3k

Views

Programmatically Creating CAD Files [closed]

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 example) with changing radiuses and I would like visuali...
Nitay
1

votes
1

answer
131

Views

Read from non-text files in C++?

My friend gave me a project that requires reading from a non-text file in C++. I'm creating a search and find feature where it looks through the filename of each document for that search, but yet also searches each individual file and will return any results given. To be more specific; the file type...
Vince

View additional questions