Skip to content

Commit

Permalink
Favor core package implementation of DrawScaledTexturedModel
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-f-cruz committed May 21, 2024
1 parent 73a4bdf commit 9faef18
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 413 deletions.
44 changes: 22 additions & 22 deletions src/Extensions/DrawSegment.bonsai
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,15 @@ PostCorridorSpecs.CenterZ as CenterZ)</scr:Expression>
</PropertyMappings>
<Selector>Item1</Selector>
</Expression>
<Expression xsi:type="IncludeWorkflow" Path="Extensions\DrawTexturedModel.bonsai">
<Expression xsi:type="IncludeWorkflow" Path="AllenNeuralDynamics.Core:DrawScaledTexturedModel.bonsai">
<TranslationX>0</TranslationX>
<TranslationY>0</TranslationY>
<TranslationZ>1950</TranslationZ>
<TranslationZ>25</TranslationZ>
<RotationZ>0</RotationZ>
<RotationY>0</RotationY>
<RotationX>90</RotationX>
<ScaleX>10</ScaleX>
<ScaleY>100</ScaleY>
<ScaleY>50</ScaleY>
<ScaleZ>1.58139539</ScaleZ>
<Ambient>
<X>1</X>
Expand Down Expand Up @@ -216,15 +216,15 @@ CorridorSpecs.Size.Height as TranslationY)</scr:Expression>
</PropertyMappings>
<Selector>Item1</Selector>
</Expression>
<Expression xsi:type="IncludeWorkflow" Path="Extensions\DrawTexturedModel.bonsai">
<Expression xsi:type="IncludeWorkflow" Path="AllenNeuralDynamics.Core:DrawScaledTexturedModel.bonsai">
<TranslationX>0</TranslationX>
<TranslationY>10</TranslationY>
<TranslationZ>1950</TranslationZ>
<TranslationY>0</TranslationY>
<TranslationZ>25</TranslationZ>
<RotationZ>0</RotationZ>
<RotationY>0</RotationY>
<RotationX>-90</RotationX>
<RotationX>90</RotationX>
<ScaleX>10</ScaleX>
<ScaleY>100</ScaleY>
<ScaleY>50</ScaleY>
<ScaleZ>1.58139539</ScaleZ>
<Ambient>
<X>1</X>
Expand Down Expand Up @@ -291,15 +291,15 @@ PostCorridorSpecs.NegOffsetX as NegOffsetX)</scr:Expression>
</PropertyMappings>
<Selector>Item1</Selector>
</Expression>
<Expression xsi:type="IncludeWorkflow" Path="Extensions\DrawTexturedModel.bonsai">
<TranslationX>-5</TranslationX>
<TranslationY>5</TranslationY>
<TranslationZ>1950</TranslationZ>
<RotationZ>-90</RotationZ>
<Expression xsi:type="IncludeWorkflow" Path="AllenNeuralDynamics.Core:DrawScaledTexturedModel.bonsai">
<TranslationX>0</TranslationX>
<TranslationY>0</TranslationY>
<TranslationZ>25</TranslationZ>
<RotationZ>0</RotationZ>
<RotationY>0</RotationY>
<RotationX>-90</RotationX>
<RotationX>90</RotationX>
<ScaleX>10</ScaleX>
<ScaleY>100</ScaleY>
<ScaleY>50</ScaleY>
<ScaleZ>1.58139539</ScaleZ>
<Ambient>
<X>1</X>
Expand Down Expand Up @@ -367,15 +367,15 @@ CorridorSpecs.Size.Height as TranslationY)</scr:Expression>
</PropertyMappings>
<Selector>Item1</Selector>
</Expression>
<Expression xsi:type="IncludeWorkflow" Path="Extensions\DrawTexturedModel.bonsai">
<TranslationX>5</TranslationX>
<TranslationY>5</TranslationY>
<TranslationZ>1950</TranslationZ>
<RotationZ>90</RotationZ>
<Expression xsi:type="IncludeWorkflow" Path="AllenNeuralDynamics.Core:DrawScaledTexturedModel.bonsai">
<TranslationX>0</TranslationX>
<TranslationY>0</TranslationY>
<TranslationZ>25</TranslationZ>
<RotationZ>0</RotationZ>
<RotationY>0</RotationY>
<RotationX>-90</RotationX>
<RotationX>90</RotationX>
<ScaleX>10</ScaleX>
<ScaleY>100</ScaleY>
<ScaleY>50</ScaleY>
<ScaleZ>1.58139539</ScaleZ>
<Ambient>
<X>1</X>
Expand Down
Loading

0 comments on commit 9faef18

Please sign in to comment.