by ArtF » Sun Jan 08, 2023 12:07 am
Hi Bill:
I'm in late, let me give you a quick responce before I review your files.
>>I decided to use Fusion 360 to create objects for use with Ticker.
I too use Fusion 360.
>>I’m creating Ticker projects to understand/test several things:
>>Creating STLs from Fusion 360. (pretty straight forward)
>>Creation of Assets from STL’s
Always good to know, and Fusion is very good on STL's, the original Ball dropper
is from fusion.
>>Using Fusion 360, I created tapered cones (20mm base tapering to ~9mm with a 4mm hole). Three cones were created: Cone Base on XY plane >>with axis along +Z; Cone Base on XZ plane with axis along +Y axis; Cone Base on YZ plane with axis along +X axis. I exported these cones as STLs.
>>Using Ticker Asset Creation I imported the individual files. I got unexpected results for the Cone along the +Z-axis. The cone appeared upside >>down. I recreated the cone in Fusion 360 with the cone aligned with the -Z-axis. This one did appear as I expected.
In Ticker, the Z-- axis is the one going toward you, Z++ goes into the screen.
>>During Asset Creation I shifted the cone X-axis and Y-axis to shift their bases to be at zero which then creates shafts that are half buried in the >>bases of the cones.
Yes, the shaft placement is Asset creation is really to set the Z axis to whatever axis it should be as
it could reasonably be created in any orientation by many programs. For objects that typically wouldn't have shafts
you can either select "hide shaft" or just set it tiny so it isn't seen. (You can modify the shafts length overrides for Z--- and Z++ maxes.
All shafts are created as Z axis objects for ticker. The orientation stage of import is for that exact reason, to make sure Z is proper aligned.
>>I used the same cones to create switches and also ball droppers to experiment with.
>>The Experiment:
>>When I started the simulation I was surprised that all of the objects rotated toward me and placed their respective shafts to be parallel to the XY >>plane. I’m trying to understand why this happened. I could easily prevent this rotation by simply locking their orientation.
Ill check the file, but its possibly a force reaction to the ball being ejected ( or cube. ). There is a checkbox for droppers and switches called "UnMovable" which should be used unless the dropper or switch is on a shaft connected to another mass, in which case normal physics should
be in effect. Ill let you know what I think when I review the files. If no using unmovable, the droppers and switches are basically pivoting on
a point in space, any force may cause them to pivot around in space.
>>A separate oddity was with the ball croppers. The Y-axis dropper had Sphere selected but dropped cubes instead.
Known bug, I just haven't fixed it yet, the Sphere checkbox should read Cube, balls are used by default.
>>There is another variation of this experiment that discovered a possible bug...but more of that later if I create a simpler scenario to illustrate the >>problem.
No problem, let me know as you see apparent bugs, I am building a list for the next recoding.
>>Appreciate the time you are taking both in developing and debugging the Ticker program. Once I understand the program better
In truth it is an educational experience for me, I had never written this type of code, and the bullet physics library is notoriously hard
to figure out the esoterics of its insides as documentation is sparse, the challenge has been fascinating. Writing my own constraints has forced me to learn more about physics and matrix operation than I figured I could. When you get old enough, the whole thing is about the challenge. :)
Art
Hi Bill:
I'm in late, let me give you a quick responce before I review your files.
>>I decided to use Fusion 360 to create objects for use with Ticker.
I too use Fusion 360.
>>I’m creating Ticker projects to understand/test several things:
>>Creating STLs from Fusion 360. (pretty straight forward)
>>Creation of Assets from STL’s
Always good to know, and Fusion is very good on STL's, the original Ball dropper
is from fusion.
>>Using Fusion 360, I created tapered cones (20mm base tapering to ~9mm with a 4mm hole). Three cones were created: Cone Base on XY plane >>with axis along +Z; Cone Base on XZ plane with axis along +Y axis; Cone Base on YZ plane with axis along +X axis. I exported these cones as STLs.
>>Using Ticker Asset Creation I imported the individual files. I got unexpected results for the Cone along the +Z-axis. The cone appeared upside >>down. I recreated the cone in Fusion 360 with the cone aligned with the -Z-axis. This one did appear as I expected.
In Ticker, the Z-- axis is the one going toward you, Z++ goes into the screen.
>>During Asset Creation I shifted the cone X-axis and Y-axis to shift their bases to be at zero which then creates shafts that are half buried in the >>bases of the cones.
Yes, the shaft placement is Asset creation is really to set the Z axis to whatever axis it should be as
it could reasonably be created in any orientation by many programs. For objects that typically wouldn't have shafts
you can either select "hide shaft" or just set it tiny so it isn't seen. (You can modify the shafts length overrides for Z--- and Z++ maxes.
All shafts are created as Z axis objects for ticker. The orientation stage of import is for that exact reason, to make sure Z is proper aligned.
>>I used the same cones to create switches and also ball droppers to experiment with.
>>The Experiment:
>>When I started the simulation I was surprised that all of the objects rotated toward me and placed their respective shafts to be parallel to the XY >>plane. I’m trying to understand why this happened. I could easily prevent this rotation by simply locking their orientation.
Ill check the file, but its possibly a force reaction to the ball being ejected ( or cube. ). There is a checkbox for droppers and switches called "UnMovable" which should be used unless the dropper or switch is on a shaft connected to another mass, in which case normal physics should
be in effect. Ill let you know what I think when I review the files. If no using unmovable, the droppers and switches are basically pivoting on
a point in space, any force may cause them to pivot around in space.
>>A separate oddity was with the ball croppers. The Y-axis dropper had Sphere selected but dropped cubes instead.
Known bug, I just haven't fixed it yet, the Sphere checkbox should read Cube, balls are used by default.
>>There is another variation of this experiment that discovered a possible bug...but more of that later if I create a simpler scenario to illustrate the >>problem.
No problem, let me know as you see apparent bugs, I am building a list for the next recoding.
>>Appreciate the time you are taking both in developing and debugging the Ticker program. Once I understand the program better
In truth it is an educational experience for me, I had never written this type of code, and the bullet physics library is notoriously hard
to figure out the esoterics of its insides as documentation is sparse, the challenge has been fascinating. Writing my own constraints has forced me to learn more about physics and matrix operation than I figured I could. When you get old enough, the whole thing is about the challenge. :)
Art