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
+13 -7
View File
@@ -28,26 +28,32 @@
//
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using StgSharp.Model.Step;
using StgSharp.Script;
using StgSharp.Script.Express;
namespace StgSharp.Modeling.Items
namespace StgSharp.Model.Step
{
public class StepDirection : StepTriple
public class StepDirection : StepTriple, IExpConvertableFrom<StepDirection>
{
private StepDirection() { }
private StepDirection( StepModel model ) : base( model ) { }
public StepDirection( string name, float x, float y, float z ) : base( name, x, y, z ) { }
public StepDirection( StepModel model, float x, float y, float z )
: base( model, x, y, z ) { }
public override StepItemType ItemType => StepItemType.Direction;
protected override int MinimumValueCount => 2;
internal static StepDirection CreateFromSyntaxList( ExpNode syntaxList )
public void FromInstance( StepDirection entity )
{
return ( StepDirection )AssignTo( new StepDirection(), syntaxList );
base.FromInstance( entity );
}
internal static StepDirection FromSyntax( StepModel binder, ExpSyntaxNode syntaxList )
{
return AssignTo( new StepDirection( binder ), syntaxList );
}
}