Browse Search Popular Register Upload Rules User list Login:
Search:
Electronic Circuit

Image:
screenshot of the scene

Author: Xray

Group: Default

Filesize: 114.99 kB

Date added: 2021-06-26

Rating: 5

Downloads: 2575

Views: 410

Comments: 15

Ratings: 1

Times favored: 1

Made with: Algodoo v2.1.0

Tags:

Scene tag

This is a sample scene (for UnityDogGaming04) which shows how to pass data through a spring using Thyme Script.

Update: Now shows a complete circuit with wires attached to BOTH battery terminals.
Last edited at 2021/06/27 22:28:58 by Xray
Please log in to rate this scene
edit
Similar scenes
Title: Circuit Imprimé-Printed Circuit Board
Rating: 4.5
Filesize: 141.46 kB
Downloads: 868
Comments: 0
Ratings: 2
Date added: 2013/03/03 18:34:32
Made with: Algodoo v2.0.1
Rating: rated 4.5
download
Title: Electronic Ultra-Precision Scale
Rating: 7.5
Filesize: 16.93 kB
Downloads: 1349
Comments: 17
Ratings: 12
Date added: 2010/07/01 20:40:49
Made with: Algodoo before v1.8.5
Rating: rated 7.5
download
Title: Car Circuit
Rating: 5
Filesize: 328.46 kB
Downloads: 286
Comments: 2
Ratings: 1
Date added: 2014/09/19 22:06:23
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Decade Resistor Selector Switch
Rating: 7.0834
Filesize: 2.16 MB
Downloads: 3605
Comments: 9
Ratings: 6
Date added: 2019/10/15 02:14:54
Made with: Algodoo v2.1.0
Rating: rated 7.1
download
Title: Liquid circuit
Rating: 5
Filesize: 44.47 kB
Downloads: 1478
Comments: 1
Ratings: 1
Date added: 2012/01/09 20:27:41
Made with: Algodoo v2.0.0 Edu
Rating: rated 5
download
Title: Real Working Electronic Counter
Rating: 5.8889
Filesize: 19.55 kB
Downloads: 862
Comments: 6
Ratings: 3
Date added: 2010/07/19 12:11:11
Made with: Algodoo before v1.8.5
Rating: rated 5.9
download
cool
Thanks Bear!
NOTE TO ANYONE WHO SEES A MAJOR FLAW IN THIS "circuit". The battery in the scene shows only one electrical connection attached to the switch. In real life this cannot work because it's not a closed loop. All electrical circuits need a return conductor to the power source. So, I wanted to say this before some eagle-eyed person gloats by pointing that out!. :lol:
Wow, that was fast! Thanks! But what about an axle? It seems to be a single object, unlike the spring! How does the axle tell the difference between the two objects it's attached to?
Oh, sorry. I forgot about an axle (also called a hinge).

In axle (hinge) postStep place this script:

hinge := (readable(owner));
g0 := (entitybygeomid(hinge.geom0));
g1 := (entitybygeomid(hinge.geom1));

where, g0 and g1 are the two geometries that the axle (hinge) is attached to.

You can get data from either geometry like these examples:

scene.my.pos = g0.pos; scene.my.angle = g1.angle

I don't remember which one (g0 or g1) is front geometry and which one is rear geometry. You will need to test it yourself.

Oh, and remember that you can only use g0 and g1 within the local environment that contains that script. In other words, you cannot access g0 data or g1 data from upDate if they were created in postStep.

Hope this helps.
Last edited at 2021/06/26 06:33:22 by Xray
Suggestion: Mirror the battery so the wire is connected to the plus terminal. Add ground symbols to the minus battery terminal and the light screw threads or bayonet connection.
How do I select only the spring and not the endpoints too?
Hold down the Alt key on your computer keyboard while clicking on the body of the spring. The Alt key works with any object in a scene, even objects that are glued together.
Thanks for the suggestion, s_noonan. I may do that in between my other "honey do" projects. ;)


Edit: Done!
Last edited at 2021/06/27 22:30:17 by Xray
Thanks again, SUPER XRAY!:D lolol
NP UDG!
:love:
@PeachCandy ?????
PeachCandy :s
What is thyme? And how did you script this?