Jump to content
  • Advertisement
Sign in to follow this  
giugio

surface and extrude rappresentation

This topic is 3194 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hy. I have this problem: I have a surface rappresentation of an extrude solid with the section , the extrude direction and the depth of the extrusion. I have all the face for all the surface each face contains an ifcpolygon with all the coordinate each object that i must import have n faces. ad ex this is a piece of xml that compose the solid: thisa is the axis: <IfcAxis2Placement3D id="i1651"> <Location> <IfcCartesianPoint id="i1654"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">0.</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">0.</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">0.</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> </Location> </IfcAxis2Placement3D> and this is the poly surface rapresentation: IfcFacetedBrep id="i2117"> <Outer> <IfcClosedShell id="i2113"> <CfsFaces ex:cType="set"> <IfcFace ex:pos="0" id="i1723"> <Bounds ex:cType="set"> <IfcFaceOuterBound ex:pos="0" id="i1720"> <Bound> <IfcPolyLoop ex:pos="0" id="i1716"> <Polygon ex:cType="list-unique"> <IfcCartesianPoint ex:pos="0" id="i1668"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">-7315.2</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-152.4</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="1" id="i1672"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">-7315.2</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="2" id="i1676"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">-7315.2</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">3.175</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="3" id="i1680"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">-7315.2</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">3.175</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="4" id="i1684"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">-7315.2</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="5" id="i1688"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">-7315.2</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">152.4</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="6" id="i1692"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">-7315.2</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">152.4</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="7" id="i1696"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">-7315.2</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="8" id="i1700"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">-7315.2</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-3.175</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="9" id="i1704"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">-7315.2</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-3.175</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="10" id="i1708"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">-7315.2</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="11" id="i1712"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">-7315.2</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-152.4</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> </Polygon> </IfcPolyLoop> </Bound> <Orientation>false</Orientation> </IfcFaceOuterBound> </Bounds> </IfcFace> <IfcFace ex:pos="1" id="i1782"> <Bounds ex:cType="set"> <IfcFaceOuterBound ex:pos="0" id="i1779"> <Bound> <IfcPolyLoop ex:pos="0" id="i1775"> <Polygon ex:cType="list-unique"> <IfcCartesianPoint ex:pos="0" id="i1727"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">0.</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-152.4</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="1" id="i1731"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">0.</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-152.4</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="2" id="i1735"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">0.</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="3" id="i1739"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">0.</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-3.175</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="4" id="i1743"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">0.</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-3.175</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="5" id="i1747"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">0.</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="6" id="i1751"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">0.</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">152.4</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="7" id="i1755"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">0.</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">152.4</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="8" id="i1759"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">0.</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="9" id="i1763"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">0.</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">3.175</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="10" id="i1767"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">0.</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">3.175</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="11" id="i1771"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">0.</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> </Polygon> </IfcPolyLoop> </Bound> <Orientation>false</Orientation> </IfcFaceOuterBound> </Bounds> </IfcFace> <IfcFace ex:pos="2" id="i1810"> <Bounds ex:cType="set"> <IfcFaceOuterBound ex:pos="0" id="i1807"> <Bound> <IfcPolyLoop ex:pos="0" id="i1803"> <Polygon ex:cType="list-unique"> <IfcCartesianPoint ex:pos="0" id="i1786"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">-7315.2</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-152.4</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="1" id="i1790"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">0.</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-152.4</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="2" id="i1795"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">0.</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-152.4</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="3" id="i1799"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">-7315.2</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-152.4</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> </Polygon> </IfcPolyLoop> </Bound> <Orientation>false</Orientation> </IfcFaceOuterBound> </Bounds> </IfcFace> <IfcFace ex:pos="3" id="i1837"> <Bounds ex:cType="set"> <IfcFaceOuterBound ex:pos="0" id="i1834"> <Bound> <IfcPolyLoop ex:pos="0" id="i1830"> <Polygon ex:cType="list-unique"> <IfcCartesianPoint ex:pos="0" id="i1814"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">-7315.2</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="1" id="i1818"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">0.</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="2" id="i1822"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">0.</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-152.4</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="3" id="i1826"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">-7315.2</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-152.4</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> </Polygon> </IfcPolyLoop> </Bound> <Orientation>false</Orientation> </IfcFaceOuterBound> </Bounds> </IfcFace> <IfcFace ex:pos="4" id="i1864"> <Bounds ex:cType="set"> <IfcFaceOuterBound ex:pos="0" id="i1861"> <Bound> <IfcPolyLoop ex:pos="0" id="i1857"> <Polygon ex:cType="list-unique"> <IfcCartesianPoint ex:pos="0" id="i1841"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">-7315.2</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-3.175</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="1" id="i1845"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">0.</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-3.175</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="2" id="i1849"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">0.</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="3" id="i1853"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">-7315.2</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-63.5</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> </Polygon> </IfcPolyLoop> </Bound> <Orientation>false</Orientation> </IfcFaceOuterBound> </Bounds> </IfcFace> <IfcFace ex:pos="5" id="i1891"> <Bounds ex:cType="set"> <IfcFaceOuterBound ex:pos="0" id="i1888"> <Bound> <IfcPolyLoop ex:pos="0" id="i1884"> <Polygon ex:cType="list-unique"> <IfcCartesianPoint ex:pos="0" id="i1868"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">-7315.2</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-3.175</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="1" id="i1872"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">0.</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-3.175</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="2" id="i1876"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">0.</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-3.175</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> <IfcCartesianPoint ex:pos="3" id="i1880"> <Coordinates ex:cType="list"> <IfcLengthMeasure ex:pos="0">-7315.2</IfcLengthMeasure> <IfcLengthMeasure ex:pos="1">-3.175</IfcLengthMeasure> <IfcLengthMeasure ex:pos="2">-142.748</IfcLengthMeasure> </Coordinates> </IfcCartesianPoint> </Polygon> </IfcPolyLoop> </Bound> <Orientation>false</Orientation> </IfcFaceOuterBound> </Bounds> </IfcFace> is possible with the axis , faces and polys to return to an extrude geometry with the section ,the depth and the direction? how? Thanks.

Share this post


Link to post
Share on other sites
Advertisement
I think that is sufficent to find the right area section from the faces of the brep representation , but how?
By

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!