Merge from branch giga

This commit is contained in:
Nitload
2025-08-31 10:42:51 +08:00
parent 1fc687f7d0
commit 1a0ccdd8cb
1619 changed files with 2812 additions and 733136 deletions
+18 -3
View File
@@ -28,15 +28,30 @@
//
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using StgSharp.Model.Step;
using StgSharp.Script;
using StgSharp.Script.Express;
namespace StgSharp.Modeling.Items
using System;
namespace StgSharp.Model.Step
{
public abstract class StepPoint : StepGeometricRepresentationItem
public class StepPoint : StepGeometricRepresentationItem, IExpConvertableFrom<StepPoint>
{
protected StepPoint( string name ) : base( name ) { }
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";
}
}
}