Civil engineering feature implementation (Transportation Engineering)

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
User avatar
Joel_graff
Posts: 1617
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Civil engineering feature implementation (Transportation Engineering)

Postby Joel_graff » Tue Dec 10, 2019 9:26 pm

A small-ish update.

I've successfully written an algorithm that finds the outer boundaries of a swept path. For a 100-step analysis, the entire calculation performs at 180-200 fps, which provides a good deal of room for a 30-60fps animation budget... or a real-time update as the user clicks / drags the vehicle around the screen.

Too much fun. :)


turns_vehicle.gif
turns_vehicle.gif (815.49 KiB) Viewed 196 times
FreeCAD Trails workbench for transportation engineering: https://www.github.com/joelgraff/freecad.trails

pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
User avatar
microelly2
Posts: 4511
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Civil engineering feature implementation (Transportation Engineering)

Postby microelly2 » Wed Dec 11, 2019 6:49 am

Joel_graff wrote:
Tue Dec 10, 2019 9:26 pm
Too much fun. :)
The vision: Rambling trucks in FreeCAD city - an interactive game: drive with your car models in a randomly generated town. We have FreeCAD as Web-Server, so it should be possible to use it as a game server for multiple gamers too.
User avatar
Kunda1
Posts: 6223
Joined: Thu Jan 05, 2017 9:03 pm

Re: Civil engineering feature implementation (Transportation Engineering)

Postby Kunda1 » Wed Dec 11, 2019 11:21 am

:truck: :truck: :truck: Keep on Truckin :truck: :truck: :truck:
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
Joel_graff
Posts: 1617
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Civil engineering feature implementation (Transportation Engineering)

Postby Joel_graff » Wed Dec 11, 2019 12:13 pm

microelly2 wrote:
Wed Dec 11, 2019 6:49 am
The vision: Rambling trucks in FreeCAD city - an interactive game: drive with your car models in a randomly generated town. We have FreeCAD as Web-Server, so it should be possible to use it as a game server for multiple gamers too.
lol. I draw some lines and dots on the screen and @microelly gets excited. ;)

I do think about 3D analysis - or at least a separate 2D vertical profile analysis. That's another useful feature in AutoTurn...
FreeCAD Trails workbench for transportation engineering: https://www.github.com/joelgraff/freecad.trails

pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers