This commit is contained in:
Nitload
2025-08-25 09:50:30 +08:00
parent bd0e31e922
commit 1359ff4ecc
1630 changed files with 738486 additions and 2399 deletions
+3 -16
View File
@@ -28,28 +28,15 @@
//
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using StgSharp.Model.Step;
using StgSharp.Script;
using StgSharp.Script.Express;
namespace StgSharp.Model.Step
namespace StgSharp.Modeling.Items
{
public class StepCurve : StepGeometricRepresentationItem, IExpConvertableFrom<StepCurve>
public abstract class StepCurve : StepGeometricRepresentationItem
{
public StepCurve( StepModel model ) : base( model ) { }
public override StepItemType ItemType => StepItemType.Curve;
public void FromInstance( StepCurve entity )
{
base.FromInstance( entity );
}
public override bool IsConvertableTo( string entityName )
{
return base.IsConvertableTo( entityName ) || entityName == "StepCurve";
}
protected StepCurve( string name ) : base( name ) { }
}
}