Search found 16 matches

by wwinthan
Tue Aug 26, 2008 10:45 pm
Forum: QCAD Community 'How Do I' Questions
Topic: compilation issues
Replies: 0
Views: 4691

compilation issues

I tried compling the QCad source code with VC8. it went through VC7 to VC8 conversion. I got following error when i compile qcadlib. ///////////////////// 1>Project : error PRJ0019: A tool returned an error code from "Moc'ing actions\rs_actioninterface.h..." 1>Project : warning PRJ0018 : The followi...
by wwinthan
Wed Aug 20, 2008 5:06 pm
Forum: dxflib Suggestions and Feedback
Topic: Type of Dimension stored in dxflib
Replies: 0
Views: 14283

Type of Dimension stored in dxflib

Group codes Description 100 Subclass marker (AcDbDimension) 2 Name of the block that contains the entities that make up the dimension picture 10 Definition point (in WCS) DXF: X value; APP: 3D point 20, 30 DXF: Y and Z values of definition point (in WCS) 11 Middle point of dimension text (in OCS) DX...
by wwinthan
Wed Aug 20, 2008 3:37 pm
Forum: dxflib Suggestions and Feedback
Topic: extrusion direction
Replies: 13
Views: 34197

you are right about extrusion. it's my bad. sry.
by wwinthan
Wed Aug 20, 2008 3:32 pm
Forum: dxflib Suggestions and Feedback
Topic: extrusion direction
Replies: 13
Views: 34197

for (i=0;i<shape->m_Geometry.m_Circles.size();i++) { DL_Extrusion *extrusion = shape->getExtrusion(); double dir[3]; extrusion->getDirection(dir); //double *direction=extrusion->getDirection( double xcenter; if (dir[2] == -1) xcenter = shape->m_Geometry.m_Circles .cx*(-1); else xcenter =shape->m_Geo...
by wwinthan
Wed Aug 20, 2008 3:21 pm
Forum: dxflib Suggestions and Feedback
Topic: extrusion direction
Replies: 13
Views: 34197

ya. i look throught that reference. but i can't find any information about reconstructing arrows or coordinates of arrows. could you help me out by telling me ur experience on retrieving arrows for rotated dimension.
thanks
by wwinthan
Wed Aug 20, 2008 3:11 pm
Forum: dxflib Suggestions and Feedback
Topic: extrusion direction
Replies: 13
Views: 34197

I tried the way you told me to deal with rotated dimension(arrow). I can get the parts of rotated dimension(except arrow). I think the arrow is the template or sth cuz somewhere in my dwf it gets printed but only one time eventhough there are multiple rotated dimension. if the arrow is template, it ...
by wwinthan
Wed Aug 20, 2008 3:08 pm
Forum: dxflib Suggestions and Feedback
Topic: extrusion direction
Replies: 13
Views: 34197

sry... dxfobject is my own name. it is equal to object of DXF_raw_container. DXF_raw_container->>>GeoPrimitives m_Geometry; vector<Block> m_Blocks; m_geometry members are vector<DL_PointData> m_Points; vector<DL_LineData> m_Lines; vector<DL_ArcData> m_Arcs; vector<DL_CircleData> m_Circles; m_Circles...
by wwinthan
Wed Aug 20, 2008 2:56 pm
Forum: dxflib Suggestions and Feedback
Topic: extrusion direction
Replies: 13
Views: 34197

also how you deal with the(rotated,angular) dimension,etc. the arrows is missing. i have the arrow size but i don't know how to decide the size of arrow and how to reconstruct it. cuz there are many types. could you plz give me a hint on how to do it?also leader doesn't come as part of the m_geometr...
by wwinthan
Wed Aug 20, 2008 2:54 pm
Forum: dxflib Suggestions and Feedback
Topic: extrusion direction
Replies: 13
Views: 34197

could you plz tell me the right one? That extrusion doesn't give me anything. that one is empty. there should have a method or sth that will retrieve that extrusion somewhere in the dxfobject->m_geom->m_circles->sthelse<<< but i can't find that method. could you plz tell me to get the extrusion for ...
by wwinthan
Tue Aug 19, 2008 10:00 pm
Forum: dxflib 'How Do I' Questions
Topic: dimension block and other blocks
Replies: 2
Views: 10652

can't find direction for each entities in dxf object

I can find those extrusion(direction) factor in dxf file but i can't find in DXFlib object..
by wwinthan
Tue Aug 19, 2008 9:59 pm
Forum: dxflib 'How Do I' Questions
Topic: dimension block and other blocks
Replies: 2
Views: 10652

I dont' know where the extrusion for Circle is stored in dxflibobject?
i don't know the author doesn't mention about it. it's hard to use his code without him writing a enough documentation.
by wwinthan
Tue Aug 19, 2008 8:22 pm
Forum: dxflib 'How Do I' Questions
Topic: dimension block and other blocks
Replies: 2
Views: 10652

dimension block and other blocks

Do you know how to differentiate between the block that contains the dimension
and the block that doesn't contain the dimension?
cuz in m_block[0-20] some of them are dimension some are not
thanks
by wwinthan
Tue Aug 19, 2008 7:13 pm
Forum: dxflib Suggestions and Feedback
Topic: extrusion direction
Replies: 13
Views: 34197

extrusion direction

Hi, I'm wondering there is a way to get the direction(extrusion) for each circle. I can see those in dxf file itself. but when i use dxflib, i can't find where it stores those information. also regarding with rotated dimension, i can't differentiate between the dimension block and other block. thx w...
by wwinthan
Thu Aug 14, 2008 10:31 pm
Forum: dxflib 'How Do I' Questions
Topic: DXF(to find the absolute corrdinates of LINEs inside)
Replies: 2
Views: 13487

the above formaul does work out for m_text and m_Mtext but it doesn't work out for lines and polyines,etc. is it because there is attributes which i need to use along with Insert? what information i need to extract from attributes to use with Insert? I'm not quite getting ur point..could you plz giv...
by wwinthan
Thu Aug 14, 2008 5:37 pm
Forum: dxflib 'How Do I' Questions
Topic: DXF(to find the absolute corrdinates of LINEs inside)
Replies: 2
Views: 13487

DXF(to find the absolute corrdinates of LINEs inside)

I have a software that needs to process dxf files and I am having a nightmare trying to find the absolute corrdinates of LINEs inside blocks. This is what I know about BLOCKS: Each BLOCK (in the BLOCKS section) has a block name that is related to an INSERT entity (In the ENTITIES section). The INSER...

Go to advanced search