MantisBT - Community
View Issue Details
0025690Community[OCCT] OCCT:Data Exchangepublic2015-01-07 12:192019-07-10 21:51
Vico Liang 
[OCCT] 6.8.0 
[OCCT] 7.5.0* 
0025690: STEPCAFControl_Writer should export Wire to COMPOSITE_CURVE rather than GEOMETRIC_CURVE_SET.
The WIRE should be mapped to COMPOSITE_CURVE rather then GEOMETRIC_CURVE_SET.
No tags attached.
related to 0029373new gka STEP exporter writes TopoDS_Wire as TopoDS_Edges 
Issue History
2015-01-07 12:19Vico LiangNew Issue
2015-01-07 12:19Vico LiangAssigned To => gka
2015-01-07 13:01abvNote Added: 0035925
2015-01-08 09:09Vico LiangNote Added: 0035929
2015-01-08 10:35abvNote Added: 0035930
2015-04-06 16:41gkaTarget Version6.9.0 => 7.1.0
2016-10-26 12:11gkaTarget Version7.1.0 => 7.2.0
2017-07-27 09:33abvTarget Version7.2.0 => 7.4.0
2018-02-09 11:21BenjaminBihlerRelationship addedrelated to 0029373
2019-07-10 21:51abvTarget Version7.4.0 => 7.5.0*

2015-01-07 13:01   
Hello Vico, can you provide some ground for your request 'should'? Can you refer to some STEP Recommended Practice, or your own experience?
Vico Liang   
2015-01-08 09:09   
Hello ABV,

I had tried to export the model of WIRE with several edges and then load it back from the step file to OCCT: The result is a compound of edges after loading and i can't find the WIRE in the result model.

I had read the user guide occt_step.pdf about the STEP and OCCT shape mapping: the STEP composite_curve will map to TopoDS_Wire while TopoDS_Wire will export to STEP geometric_curve_set. From my point of view, geometric_curve_set is more likely the compound and composite_curve is more likely WIRE in OCCT concept.

2015-01-08 10:35   
Ok, that sounds reasonable (and I recall we already discussed similar request some time ago). Note that in general case wire in OCCT may be non-manifold, thus we need to check that the wire is connected and manifold before deciding to map it to composite curve.