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 -18
View File
@@ -28,30 +28,15 @@
//
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using StgSharp.Model.Step;
using StgSharp.Script;
using StgSharp.Script.Express;
using System;
namespace StgSharp.Model.Step
namespace StgSharp.Modeling.Items
{
public class StepPoint : StepGeometricRepresentationItem, IExpConvertableFrom<StepPoint>
public abstract class StepPoint : StepGeometricRepresentationItem
{
public StepPoint( StepModel model ) : base( model ) { }
public override StepItemType ItemType => StepItemType.Point;
public void FromInstance( StepPoint entity )
{
base.FromInstance( entity );
}
public override bool IsConvertableTo( string entityName )
{
return base.IsConvertableTo( entityName ) || entityName == "StepPoint";
}
protected StepPoint( string name ) : base( name ) { }
}
}