discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: Rotating a cylinder along its own axis

GH
gene heskett
Thu, Jul 20, 2023 2:19 PM

On 7/20/23 05:01, jpm2nice-tech--- via Discuss wrote:

Thanks, Gene, but its exactly what I was doing.


Finally, to obtain what I wanted, I had to write TWO consecutive rotates:
rotate ([0,90,0]) rotate([0,0,45]) cylinder(h=1,d1=3,d2=4, center=true,$fn=4)
I dont understand why...

neither do I but there are far more experienced folks here who might be
able to explain it. I just ran into what might be a similar thing, in
that I had to make two calls to a module, one to subtract room for it,
and another to actually add it, in 2 different "scopes"

I'm building up a failed carriage for an ender5+ as I rebuild it with a
cf tube for the x axis bar that I've put a limear bearing for the x
carriage its top, and stepper/servo's for xy motors. But since the y
motor is now a servo capable of throwing more weight around, and the
difficulty  of replaceing the unique rails a tronxy-400-pro came with,
I've decided to stiffen up the x carriage by putting the linear bearing
I was going to use of the tronxy, on the bottom of the cf tube on the
E5+. Giving me a considerably more rigid torsionally x transport that
isn't going to suffer sloppy bearings near as quickly as a single 9mm
bearing would.

I've designed an E3V6 clone carrying hotend and fans assembly that's
quite compact, using the usual 3010 clipon fan but with a twist, a prox
sensor for the bed leveler between the fan and the E3v6 fins, so the
prox sensor will also be cooled by that same fan, and its closer to the
hotend by about 10mm than any other printer. Then, since 4010
centrifugal fans usually just idle at sub 20% speeds for PETG, switch
the side fans from 4010's to 3010's running a little faster.  And its
all under 65mm wide so I can still pretty much cover the E5+'s 375xmm sq
bed.

IDK how fast it might be with a 1NM 3phase nema 23 servo for Y, but the
controller is rated to 50 volts, and will be running on 42. I am running
4 more of this motor family on cnc machines carving metal and they amaze
me at the difference in how they perform compared to normal 2 phase
steppers, These motors get to where you send them in 1 millisecond or if
they can't get there, will shut linuxcnc down in its tracks in that same
millisecond.  That fail-safe has been well tested, but has yet to
actually occur in a normal job. A 3nm rated is throwing the 20+ lb
carriage of an 11x54 Sheldon lathe round at 120 ips and a 1nm version is
throwing the x crossfeed in and out at 60 ips. Another 1nm is lifting
the 1.5 hp, 24,000 rpm water cooled motor as the Z on a 6040 mill, and a
3nm is spinning the B axis thru a 5/1 worm to carve threads at up to 400
rpms on that same mill. Thats spinning the motor at 2000 revs. so it
runs warm at that speed. One of the things about the stepper/servo's is
that they only use enough motor current to get there. Working easy, they
run cold where a std 2 phase like is used on printers runs burn your
hand hot. So the power meter spins only as fast as the motor is being
worked.

The other 3 nema 17 servo motors for xy on those 2 printers will have
controllers rated for 90 volts so I don't expect speeds below 500mm to
be a problem. But the psu people haven't caught up yet, so they'll be
running on 48 volt supplies. Frames liberally triangulated to stiffen them.

Cheers, Gene Heskett.

"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.

On 7/20/23 05:01, jpm2nice-tech--- via Discuss wrote: > > Thanks, Gene, but its exactly what I was doing. > > \ > Finally, to obtain what I wanted, I had to write TWO consecutive rotates: \ > rotate (\[0,90,0\]) rotate(\[0,0,45\]) cylinder(h=1,d1=3,d2=4, center=true,$fn=4) \ > I dont understand why... neither do I but there are far more experienced folks here who might be able to explain it. I just ran into what might be a similar thing, in that I had to make two calls to a module, one to subtract room for it, and another to actually add it, in 2 different "scopes" I'm building up a failed carriage for an ender5+ as I rebuild it with a cf tube for the x axis bar that I've put a limear bearing for the x carriage its top, and stepper/servo's for xy motors. But since the y motor is now a servo capable of throwing more weight around, and the difficulty of replaceing the unique rails a tronxy-400-pro came with, I've decided to stiffen up the x carriage by putting the linear bearing I was going to use of the tronxy, on the bottom of the cf tube on the E5+. Giving me a considerably more rigid torsionally x transport that isn't going to suffer sloppy bearings near as quickly as a single 9mm bearing would. I've designed an E3V6 clone carrying hotend and fans assembly that's quite compact, using the usual 3010 clipon fan but with a twist, a prox sensor for the bed leveler between the fan and the E3v6 fins, so the prox sensor will also be cooled by that same fan, and its closer to the hotend by about 10mm than any other printer. Then, since 4010 centrifugal fans usually just idle at sub 20% speeds for PETG, switch the side fans from 4010's to 3010's running a little faster. And its all under 65mm wide so I can still pretty much cover the E5+'s 375xmm sq bed. IDK how fast it might be with a 1NM 3phase nema 23 servo for Y, but the controller is rated to 50 volts, and will be running on 42. I am running 4 more of this motor family on cnc machines carving metal and they amaze me at the difference in how they perform compared to normal 2 phase steppers, These motors get to where you send them in 1 millisecond or if they can't get there, will shut linuxcnc down in its tracks in that same millisecond. That fail-safe has been well tested, but has yet to actually occur in a normal job. A 3nm rated is throwing the 20+ lb carriage of an 11x54 Sheldon lathe round at 120 ips and a 1nm version is throwing the x crossfeed in and out at 60 ips. Another 1nm is lifting the 1.5 hp, 24,000 rpm water cooled motor as the Z on a 6040 mill, and a 3nm is spinning the B axis thru a 5/1 worm to carve threads at up to 400 rpms on that same mill. Thats spinning the motor at 2000 revs. so it runs warm at that speed. One of the things about the stepper/servo's is that they only use enough motor current to get there. Working easy, they run cold where a std 2 phase like is used on printers runs burn your hand hot. So the power meter spins only as fast as the motor is being worked. The other 3 nema 17 servo motors for xy on those 2 printers will have controllers rated for 90 volts so I don't expect speeds below 500mm to be a problem. But the psu people haven't caught up yet, so they'll be running on 48 volt supplies. Frames liberally triangulated to stiffen them. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/>