Merge from branch giga
This commit is contained in:
@@ -28,15 +28,26 @@
|
||||
//
|
||||
//-----------------------------------------------------------------------
|
||||
//-----------------------------------------------------------------------
|
||||
using StgSharp.Model.Step;
|
||||
using StgSharp.Script;
|
||||
using StgSharp.Script.Express;
|
||||
|
||||
namespace StgSharp.Modeling.Items
|
||||
namespace StgSharp.Model.Step
|
||||
{
|
||||
public abstract class StepSurface : StepGeometricRepresentationItem
|
||||
public class StepSurface : StepGeometricRepresentationItem, IExpConvertableFrom<StepSurface>
|
||||
{
|
||||
|
||||
public StepSurface( string name ) : base( name ) { }
|
||||
protected StepSurface( StepModel model ) : base( model ) { }
|
||||
|
||||
public void FromInstance( StepSurface entity )
|
||||
{
|
||||
base.FromInstance( entity );
|
||||
}
|
||||
|
||||
public override bool IsConvertableTo( string entityName )
|
||||
{
|
||||
return base.IsConvertableTo( entityName ) || entityName == "StepSurface";
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user