Page 1 of 1

Crankshaft Position Wheel

Posted: Tue Dec 24, 2019 1:25 am
by sandyg
This is my first attempt at a plug in, feedback please!

This evolved from the spur gear library plug in. It is for use in creating an engine position wheel which is used by fuel injection and ignition systems in cars. This is specifically for my race car that needed a specialized size, which would have been easy to manually do in QCAD. However I saw the gear plug in and figured I would give it a go and see how far I can get.

Ultimately these would be cut out of steel with the waterjet or laser process.

V1.0 has a bunch of features, need to add a few more as indicated in the Readme.

This is my GitHub with the code and information - https://github.com/sganz/CrankWheel

Lot's to learn, any feedback would be fantastic.

Example wheel
CrankWheel-sm.gif
CrankWheel-sm.gif (8.92 KiB) Viewed 10285 times
Sandy

Re: Crankshaft Position Wheel

Posted: Tue Dec 24, 2019 7:51 am
by Husky
Interesting idea. :wink:

I started testing it but with my GUI arrangement I miss a scrollbar for an easy and complete dialog access. Is a vertical dialog scrollbar planed for future updates?

Re: Crankshaft Position Wheel

Posted: Tue Dec 24, 2019 6:26 pm
by sandyg
I'll will have to see how the scroll works. I would guess it's under QCAD control directly but will look into that. You may just have to tear out the dialog or stretch it bigger. I shrunk up my other dialogs while testing.

In process to also make the bottom teeth roots a cup shape. Will require another GUI field so need to solve scroll fields into view...

Thanks for testing. Hopefully I can play a bit today and find a solution for scroll of the form.

Sandy

Re: Crankshaft Position Wheel

Posted: Tue Dec 24, 2019 9:35 pm
by sandyg
Added a scrolling area to the parameter dialog. Seems to work. Doing some minor testing and clean up will have a bit more work on it before I merge to master hopefully today.

Thanks for the idea on the scrolling area.

Sandy

Re: Crankshaft Position Wheel

Posted: Mon Dec 30, 2019 4:54 pm
by sandyg
Fixed up a lot of code and the display in the current Github master branch. Seems much better now to possibly call it a v1.0

Re: Crankshaft Position Wheel

Posted: Mon Jan 06, 2020 5:02 pm
by sandyg
Updated code in GitHub to a v1.0.1 Readme updated with new features such as a balance hole.

Created the Crank Wheel that I needed for my application and sent it to the laser cutter. Should have it about 10 days.

Here's what I did (made 2 with some spacers).

Re: Crankshaft Position Wheel

Posted: Sat Jan 11, 2020 5:27 pm
by sandyg
Got metal last night from the laser cutter. Came out very nice. Was made out of .25" hot rolled and pickled steel.
20200110_194200.jpg
20200110_194200.jpg (3.55 MiB) Viewed 9997 times

Re: Crankshaft Position Wheel

Posted: Sat Jan 11, 2020 7:18 pm
by andrew
Cool stuff! It's always great to see some real-life work people do with QCAD :D Thanks!

Re: Crankshaft Position Wheel

Posted: Wed Jan 15, 2020 12:51 am
by sandyg
It's my go to 2D CAD package, I have been using it for years. I never get enough time to get great at it but it always works well for the Waterjet and Laser cutters. The scripting is a double bonus!

Thanks for all your hard work on it!

Sandy

Re: Crankshaft Position Wheel

Posted: Mon Apr 26, 2021 5:54 am
by CVH
@ sandyg,

Since QCAD release 3.26.0 RTextEntity uses the Width parameter to fit text in a column.
Yours is set to 1.0 unit at line 600: https://github.com/qcad/qcad/blob/982e5 ... nkWheel.js

Appropriate would be 0.0 what is no fitting.

Regards,
CVH