开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: #3D STL conversion #3D

 

Julian's not working on an stl conversion, Julian's taking his first steps in working with meshes and it's very frustrating!

Won't be venturing back into that work space any time soon. The model will slice OK in Bambu studio but looks like it will benefit from some infill or several wall layers.? Below red paths are 26% fill with two wall passes, but you can adjust as you see fit.




The stl is attached.


Re: #3D STL conversion #3D

 

Julian Armin.
Well I managed to create a STEP file from Armin?s?STL
Using Freecad, toolbars? part, produce a mesh, produce a solid.?
STEP size 706 mb. WOW
Brought into my Mastercam, to convert this STEP to MC 8 , ( mastercams own file extension for all designs etc) and after 45 mins it is still trying to convert ?
I will try again in the morning, going to bed, computer?turned off but we are getting there. LOL
Armin's STL will? for the moment and get the gift printed.
Thanks guys.

John?



On Sun, 11 Feb 2024 at 18:54, John Lindo via <bechetboat=[email protected]> wrote:
Armin.

Magic thanks. I can scale up to 200% but 150% seems good.
Julian is also working on a STL conversion.
So I will have a choice.
I will be able to print "hopefully" a vase for my wife, B4 valentines day.
Well done my friend.


On Sun, 11 Feb 2024 at 18:09, Armin <ya_duck@...> wrote:
John, if its just for priniting I found a similar vase on Cults3D.com that can be sliced in PrusaSlicer. I'm not sure if the link is allowed here, but you could search for vasedoubletwist4mm on cults3d.


--
John


--
John


Re: Arduino tachometer #Tachometers_Encoders

 

On Fri, Feb 9, 2024 at 03:47 PM, Jerry Trantow wrote:
"You need a little bit of logic to detect slow speeds which can wrap your timer. Usually you will low-pass filter these values to smooth out the RPM value. Some automotive tachometers/software use a multiple teeth system with?a missing tooth to provide multiple position and velocity estimates per revolution."
?
Jerry,

Nice explanation.

With rotary incremental encoders, you can usually buy one with what is called an "index pulse". This is a pulse that occurs once during each revolution, and is output on a separate channel. As you say, this can be used to give you position for more than one revolution. The main disadvantages of this type of "semi-absolute" system are that it depends upon some form of battery or memory to hold the last position on power down, and it does not record any movement that may occur while the power is off.

For example, you home your system before shutdown and the mill spindle is sitting at your 0,0,0 location. Then you make a small part to repair grandma's recliner manually. Upon power up, the location system "thinks" it is at home, but it is really wherever you left it after your manual operation. If this is critical, one would need to use an absolute encoder that provides accurate position regardless of whether it is moved while the power is off.
?--
Regards,

Charlie
New Jersey, USA

NOTE: No trees were injured in the sending of this message,

but a large number of electrons were terribly inconvenienced.


Re: Arduino tachometer #Tachometers_Encoders

 

I love the kindling splitter!
--
Regards,

Charlie
New Jersey, USA

NOTE: No trees were injured in the sending of this message,

but a large number of electrons were terribly inconvenienced.


Re: Arduino tachometer #Tachometers_Encoders

 

Hi, John,

Happy to help.

The encoder generates the two rising and falling channels regardless of whether you evaluate them as 600, 1200 or 2400 PPR. The spec then applies to the 600 PPR. Each channel has its own hardware so the two channels don't interfere with each other in terms of frequency. Each channel is capable of 20 kHz.

20,000 / 600 RPM / 60 min/sec = 2000 RPM, as you calculated correctly. This is well within the maximum mechanical speed of 5000 RPM, so you should be good.

This all assumes that the encoder is being driven 1:1. If, for example, the encoder was making 2 turns for each turn of the spindle, the calculations would still be correct for the encoder, but the spindle speed would be limited to 1000 RPM. (2000 RPM at the encoder would be 1000 RPM at the spindle.)

I hope this helps.
--
Regards,

Charlie
New Jersey, USA

NOTE: No trees were injured in the sending of this message,

but a large number of electrons were terribly inconvenienced.


Re: #3D STL conversion #3D

 

Armin.

Magic thanks. I can scale up to 200% but 150% seems good.
Julian is also working on a STL conversion.
So I will have a choice.
I will be able to print "hopefully" a vase for my wife, B4 valentines day.
Well done my friend.


On Sun, 11 Feb 2024 at 18:09, Armin <ya_duck@...> wrote:
John, if its just for priniting I found a similar vase on Cults3D.com that can be sliced in PrusaSlicer. I'm not sure if the link is allowed here, but you could search for vasedoubletwist4mm on cults3d.


--
John


Re: #3D STL conversion #3D

 

Yes please.
My 3D will accept up to 255 mm x x 255 mm Y x 260 mm Z
Cheers
John


On Sun, 11 Feb 2024 at 18:26, Julian <julian@...> wrote:
I've been playing too!

Is this acceptable ...


I've had to cut the top off a little.? The original stl is around 1000mm high.? If I scale it to 100mm I think the wall thickness will be around 2mm.? You should be able to re-scale in a slicer.? If the ratio is OK I'll see if I can create a printable file, but I think it's going to have to be another stl.


--
John


Re: #3D STL conversion #3D

 

I've been playing too!

Is this acceptable ...


I've had to cut the top off a little.? The original stl is around 1000mm high.? If I scale it to 100mm I think the wall thickness will be around 2mm.? You should be able to re-scale in a slicer.? If the ratio is OK I'll see if I can create a printable file, but I think it's going to have to be another stl.


Re: #3D STL conversion #3D

 

John, if its just for priniting I found a similar vase on Cults3D.com that can be sliced in PrusaSlicer. I'm not sure if the link https://cults3d.com/en/3d-model/home/vasedoubletwist4mm is allowed here, but you could search for vasedoubletwist4mm on cults3d.


Re: #3D STL conversion #3D

 

Thanks Julian for your understanding, this conversion (reverse engineering) is like making glass, once it's melted, a devil's job to get back to the raw materials.

I think the new Prusa slicer defaults to file extensions 3mf.
So I will?give?it a go.
I am using this ew slicer,( I was using slic3r) currently only in the Advanced mode at the moment, the Expert mode well ? LOL This slicer has 3 options to?select, Simple, Advanced, Expert.
I really recommend?it to anybody in?the?3D?printing hobby, and it's free, Thank you Josef Prusa.
It is certainly compatible?with my new Mizar in reference to exporting the g codes.
The days are gone with fighting the I3 clone printers, although without this past experience?
over a bunch of years, then maybe a newbie might find the Mizar intimidating the first go around.
All in all, for a couple of hundred dollars, the budget Geeetech printer will do me proud.
Cheers



On Sun, 11 Feb 2024 at 14:45, Julian <julian@...> wrote:
John, I tried doing the same exercise a little while ago and failed miserably.? Free version of Fusion restricts one operation in the process which has to be done manually triangle by triangle.? My file had many facets, but that vase has a crazy number, so that route is a non starter.

Don't bother with any of the on line converters, they are a waste of time.? I eventually found a SolidWorks version which I managed to get converted on the system at work.? As many modern slicers and printers can use step files directly (claiming better results), perhaps try to find the same or similar vase in the required step format.

Also I think Fusion free version can import 3mf files and just ignores print side of the file.? If you can find one of those I'd be happy to try and convert/alter it for you.


--
John


Re: #3D STL conversion #3D

 

John, I tried doing the same exercise a little while ago and failed miserably.? Free version of Fusion restricts one operation in the process which has to be done manually triangle by triangle.? My file had many facets, but that vase has a crazy number, so that route is a non starter.

Don't bother with any of the on line converters, they are a waste of time.? I eventually found a SolidWorks version which I managed to get converted on the system at work.? As many modern slicers and printers can use step files directly (claiming better results), perhaps try to find the same or similar vase in the required step format.

Also I think Fusion free version can import 3mf files and just ignores print side of the file.? If you can find one of those I'd be happy to try and convert/alter it for you.


#3D STL conversion #3D

 

Can anybody help.
I have downloaded a STL file for slicing.
Such a nice shape and style.
I need to convert to a STEP file so I can draft in a hole.
I have tried Free cad and Solid edge, I get so far then ??? and importantly a step by step guide of how it?s done.
From the converted to STEP file I can use Mastercam, do what I need? and convert back to a STL file.
see attachment.

Thanks from a "pulling my hair out" member
--
John


Re: Arduino tachometer #Tachometers_Encoders

 

Charlie
Thanks for the explanation on the limits of the encoder. ?Perhaps you can help me further understand the capabilities of my encoder.
The relevant specs are, 600 ppr, mechanical limit 5000 rpm and 20kHz. The 600 ppr is for 1 of 2 phases. ?My software has to deal with both the rise and fall of each pulse so a total of 2400 per rev.

When I consider the 20kHz do I consider the 600 ppr or the 2400 per rev. ?I suspect it’s the 600. ?If so that gives me 20000/600 rpsecond or 2000rpm vs the mechanical limit of 5000rpm. ?Are my assumptions and math correct?

thanks
John


Re: Arduino tachometer #Tachometers_Encoders

 

开云体育

Thanks Charlie , I actually got a lot of that , though my math has been way underutilized for quit some time . Your statement about the import encoders or even other parts like that can all too often be a perfect example of $ 0.50 holding up $ 10.00 .

animal

On 2/10/24 6:40 PM, CLevinski wrote:

Hello, fellow machinists,

I worked in the design input and implementation of rotary shaft encoders manufactured by my employer on and off for over 30 years. I haven't noticed anyone mentioning the incremental encoder limitations, which can cause serious issues and problems. When some of the commenters say that their code "almost works", it sounds like an encoder problem.

First, and most often the issue, is the maximum encoder frequency, usually specified in kHz. This is the maximum rate at which the encoder can generate pulses. Exceed this frequency and the encoder may become unreliable and may drop pulses, resulting in inaccurate readings.

Let's say you have a 1200 PPR (pulse per revolution, sometimes called "lines) encoder. Let's assume a maximum spindle speed of 2400 RPM, and that you are mechanically driving the encoder 1:3. I.E., one turn of the spindle causes 3 turns of the encoder. 1200 PPR X 2400 RPM / 60 seconds/minute X 3 = 144 kHz. Under these conditions, an encoder with less than a 144 kHz frequency response may function unreliably or not at all when its conditions are exceeded. If you had, for example, a 50 kHz encoder, in our example above, it would generate pulses reliably only up to 833 RPM. The first Chinese encoders I purchased for a machining project were only rated at 10 kHz, so I would encourage you to check your conditions and make sure that the encoder you purchase meets the need of your project.

Second, encoders have a maximum rated mechanical speed, specified in RPM. Make sure that you take into account and gear/belt ratio impacts. In our example, the maximum spindle speed is 2400 RPM, but the encoder is turning 3x faster than the spindle. So, the encoder is turning 7200 RPM. The rule here is simply don't exceed the maximum rated encoder speed.

The third issue is more subtle and often overlooked. The relatively delicate encoder spindle is supported by bearings. These bearings have maximum radial and axial load ratings. Exceeding these loads will decrease the life of the encoder, in some cases significantly. If you are driving the encoder axially directly from another shaft of similar size, just be sure to use an instrument-type flexible coupling and things should be fine. If driving with a timing belt, avoid putting any more tension on the belt than you have to.

I hope this info may be useful to you.
--
Regards,

Charlie
New Jersey, USA

NOTE: No trees were injured in the sending of this message,

but a large number of electrons were terribly inconvenienced.


Re: Arduino tachometer #Tachometers_Encoders

 
Edited

Hello, fellow machinists,

I worked in the design input and implementation of rotary shaft encoders manufactured by my employer on and off for over 30 years. I haven't noticed anyone mentioning the incremental encoder limitations, which can cause serious issues and problems. When some of the commenters say that their code "almost works", it sounds like an encoder problem.

First, and most often the issue, is the maximum encoder frequency, usually specified in kHz. This is the maximum rate at which the encoder can generate pulses. Exceed this frequency and the encoder may become unreliable and may drop pulses, resulting in inaccurate readings.

Let's say you have a 1200 PPR (pulse per revolution, sometimes called "lines") encoder. Let's assume a maximum spindle speed of 2400 RPM, and that you are mechanically driving the encoder 1:3. I.E., one turn of the spindle causes 3 turns of the encoder. 1200 PPR X 2400 RPM / 60 seconds/minute X 3 = 144 kHz. Under these conditions, an encoder with less than a 144 kHz frequency response may function unreliably or not at all when its conditions are exceeded. If you had, for example, a 50 kHz encoder, in our example above, it would generate pulses reliably only up to 833 RPM. The first Chinese encoders I purchased for a machining project were only rated at 10 kHz, so I would encourage you to check your conditions and make sure that the encoder you purchase meets the need of your project.

Second, encoders have a maximum rated mechanical speed, specified in RPM. Make sure that you take into account and gear/belt ratio impacts. In our example, the maximum spindle speed is 2400 RPM, but the encoder is turning 3x faster than the spindle. So, the encoder is turning 7200 RPM. The rule here is simply don't exceed the maximum rated encoder speed.

The third issue is more subtle and often overlooked. The relatively delicate encoder spindle is supported by bearings. These bearings have maximum radial and axial load ratings. Exceeding these loads will decrease the life of the encoder, in some cases significantly. If you are driving the encoder axially directly from another shaft of similar size, just be sure to use an instrument-type flexible coupling and things should be fine. If driving with a timing belt, avoid putting any more tension on the belt than you have to.

I hope this info may be useful to you.
--
Regards,

Charlie
New Jersey, USA

NOTE: No trees were injured in the sending of this message,

but a large number of electrons were terribly inconvenienced.


Re: Arduino tachometer #Tachometers_Encoders

 

开云体育

Jerry was that meant for me & my Tach ? or aimed at Ralph's encoder ?

thanks animal


On 2/10/24 9:00 AM, Jerry Trantow wrote:

You will need to use interrupts. One per phase. Looks like an Arduino lib already exists.

On Fri, Feb 9, 2024, 3:40?PM Ralph Hulslander <rhulslander@...> wrote:
I need some 4 pin encoder code for a 1000 line encoder.

Most of the code for RPM I have found online does not work.

I do have some Arduino code that "almost" works, but it is not accurate.

Ralph

On Fri, Feb 9, 2024 at 3:47?PM Jerry Trantow <jerry.trantow@...> wrote:
I have implemented several tachometers in software but haven't implemented an arduino tach. I have installed several of the $15-$20 tach (RC-41) modules which are very simple to install if you just need a quick RPM display. I've been using one on my lathe spindle for a few years. I recently added a feedback loop for the spindle VFD and noticed the module speed is off by maybe 10-20% under 100RPM but gets better at higher speeds.

Coding a tachometer can be a bit tricky if you require accuracy. It all depends on how many pulses you get per revolution and how fast it's spinning. One method is to count the period between tach pulses to calculate frequency/RPM. You use a timer interrupt that captures a high?resolution timer on the pulse. You need a little bit of logic to detect slow speeds which can wrap your timer. Usually you will low-pass filter these values to smooth out the RPM value. Some automotive tachometers/software use a multiple teeth system with?a missing tooth to provide multiple position and velocity estimates per revolution.

My lathe uses a 240 pulse per revolution disk (60 teeth with quadrature pulses) for threading. LinuxCNC supports missing tooth encoders so I could remove a tooth and get absolute positioning (within 1.5 degrees) The software provides an instantaneous RPM that I low pass filter before display so it doesn't jump around.
The lathe also has the RC-41 display with a 1 pulse per rev sensor that I used to set the spindle RPM when I was using a potentiometer to control the VFD.
Recently, I removed the pot and control the VFD with linuxCNC. This is when I noticed the RC-41 wasn't very accurate <100RPM.


On Fri, Feb 9, 2024 at 1:57?PM mike allen <animal@...> wrote:
hey folks have any of ya made a tachometer using a Arduino ? I tried
some I found online but most of them seem to have something wrong with
the code? I'm not smart enough in the Arduino world to decipher the code
. What are you folks using ? I don't want to buy just a tachometer? from
China . I need to get one working in the Arduino platform for part of a
project I've got going .

thanks

animal







--
Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill press, 40 watt laser, Consew brushless DC motors and a non working 3D printer


Re: Arduino tachometer #Tachometers_Encoders

 

开云体育

Thanks John .

animal

On 2/9/24 9:08 PM, John Lindo wrote:

Forgot to say, added in the Files section ref RELS data.
See schematic for installing.
Also you may need the Adafruit files loaded in the Arduino sketch.
I have attached the ZIP?s
Hope this helps



Cheers

John

On Sat, 10 Feb 2024 at 05:47, John Lindo via <bechetboat=[email protected]> wrote:
I have added an Arduino file Tach.ino?
I hope this helps?
This is used in my RELS. Also see the schematics for wiring in.
Cheers
--
John

--
John


Re: Arduino tachometer #Tachometers_Encoders

Jerry Trantow
 

Fwiw, it's fairly easy to set up Linuxcnc which lsupports encoders. I'm running encoders with 1um and 5um resolution using mesa fpga cards. My lathe encoder worked at threading rpm (120rpm) using the parallel port.

Let's you do lots of fun turning. Here's a kindling splitter I recently "threaded" using Linuxcnc.

On Sat, Feb 10, 2024, 11:01?AM Jerry Trantow via <jerry.trantow=[email protected]> wrote:
You will need to use interrupts. One per phase. Looks like an Arduino lib already exists.

On Fri, Feb 9, 2024, 3:40?PM Ralph Hulslander <rhulslander@...> wrote:
I need some 4 pin encoder code for a 1000 line encoder.

Most of the code for RPM I have found online does not work.

I do have some Arduino code that "almost" works, but it is not accurate.

Ralph

On Fri, Feb 9, 2024 at 3:47?PM Jerry Trantow <jerry.trantow@...> wrote:
I have implemented several tachometers in software but haven't implemented an arduino tach. I have installed several of the $15-$20 tach (RC-41) modules which are very simple to install if you just need a quick RPM display. I've been using one on my lathe spindle for a few years. I recently added a feedback loop for the spindle VFD and noticed the module speed is off by maybe 10-20% under 100RPM but gets better at higher speeds.

Coding a tachometer can be a bit tricky if you require accuracy. It all depends on how many pulses you get per revolution and how fast it's spinning. One method is to count the period between tach pulses to calculate frequency/RPM. You use a timer interrupt that captures a high?resolution timer on the pulse. You need a little bit of logic to detect slow speeds which can wrap your timer. Usually you will low-pass filter these values to smooth out the RPM value. Some automotive tachometers/software use a multiple teeth system with?a missing tooth to provide multiple position and velocity estimates per revolution.

My lathe uses a 240 pulse per revolution disk (60 teeth with quadrature pulses) for threading. LinuxCNC supports missing tooth encoders so I could remove a tooth and get absolute positioning (within 1.5 degrees) The software provides an instantaneous RPM that I low pass filter before display so it doesn't jump around.
The lathe also has the RC-41 display with a 1 pulse per rev sensor that I used to set the spindle RPM when I was using a potentiometer to control the VFD.
Recently, I removed the pot and control the VFD with linuxCNC. This is when I noticed the RC-41 wasn't very accurate <100RPM.


On Fri, Feb 9, 2024 at 1:57?PM mike allen <animal@...> wrote:
hey folks have any of ya made a tachometer using a Arduino ? I tried
some I found online but most of them seem to have something wrong with
the code? I'm not smart enough in the Arduino world to decipher the code
. What are you folks using ? I don't want to buy just a tachometer? from
China . I need to get one working in the Arduino platform for part of a
project I've got going .

thanks

animal







--
Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill press, 40 watt laser, Consew brushless DC motors and a non working 3D printer


Re: Arduino tachometer #Tachometers_Encoders

Jerry Trantow
 

You will need to use interrupts. One per phase. Looks like an Arduino lib already exists.


On Fri, Feb 9, 2024, 3:40?PM Ralph Hulslander <rhulslander@...> wrote:
I need some 4 pin encoder code for a 1000 line encoder.

Most of the code for RPM I have found online does not work.

I do have some Arduino code that "almost" works, but it is not accurate.

Ralph

On Fri, Feb 9, 2024 at 3:47?PM Jerry Trantow <jerry.trantow@...> wrote:
I have implemented several tachometers in software but haven't implemented an arduino tach. I have installed several of the $15-$20 tach (RC-41) modules which are very simple to install if you just need a quick RPM display. I've been using one on my lathe spindle for a few years. I recently added a feedback loop for the spindle VFD and noticed the module speed is off by maybe 10-20% under 100RPM but gets better at higher speeds.

Coding a tachometer can be a bit tricky if you require accuracy. It all depends on how many pulses you get per revolution and how fast it's spinning. One method is to count the period between tach pulses to calculate frequency/RPM. You use a timer interrupt that captures a high?resolution timer on the pulse. You need a little bit of logic to detect slow speeds which can wrap your timer. Usually you will low-pass filter these values to smooth out the RPM value. Some automotive tachometers/software use a multiple teeth system with?a missing tooth to provide multiple position and velocity estimates per revolution.

My lathe uses a 240 pulse per revolution disk (60 teeth with quadrature pulses) for threading. LinuxCNC supports missing tooth encoders so I could remove a tooth and get absolute positioning (within 1.5 degrees) The software provides an instantaneous RPM that I low pass filter before display so it doesn't jump around.
The lathe also has the RC-41 display with a 1 pulse per rev sensor that I used to set the spindle RPM when I was using a potentiometer to control the VFD.
Recently, I removed the pot and control the VFD with linuxCNC. This is when I noticed the RC-41 wasn't very accurate <100RPM.


On Fri, Feb 9, 2024 at 1:57?PM mike allen <animal@...> wrote:
hey folks have any of ya made a tachometer using a Arduino ? I tried
some I found online but most of them seem to have something wrong with
the code? I'm not smart enough in the Arduino world to decipher the code
. What are you folks using ? I don't want to buy just a tachometer? from
China . I need to get one working in the Arduino platform for part of a
project I've got going .

thanks

animal







--
Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill press, 40 watt laser, Consew brushless DC motors and a non working 3D printer


Re: Arduino tachometer #Tachometers_Encoders

 

Please see in the RELS files section.

John

On Sat, 10 Feb 2024 at 05:47, John Lindo via <bechetboat=[email protected]> wrote:
I have added an Arduino file Tach.ino?
I hope this helps?
This is used in my RELS. Also see the schematics for wiring in.
Cheers
--
John


--
John