#linuxcnc Logs
Aug 29 2020
#linuxcnc Calendar
12:04 AM -!- #linuxcnc mode set to +v by ChanServ
01:28 AM Deejay: moin
04:13 AM Tom_L: morning
04:51 AM JT-Cave: morning
04:51 AM XXCoder: morning
05:14 AM JT-Cave: trying to find the rgb color progression from dawn to sunrise...
05:38 AM XXCoder: hmm
05:38 AM XXCoder: any chart like that?
05:39 AM JT-Cave: not finding much I can use yet
05:39 AM XXCoder: https://upload.wikimedia.org/wikipedia/commons/thumb/b/ba/PlanckianLocus.png/1200px-PlanckianLocus.png ?
05:40 AM JT-Cave: hmm I wonder if I can use my Kelvin to RGB program to do that?
05:40 AM XXCoder: https://en.wikipedia.org/wiki/Color_temperature#Calculation
05:41 AM XXCoder: not sure if thats sunset colors
05:55 AM XXCoder: JT-Cave: been looking for while
05:55 AM XXCoder: still havent found it. the color temperate thing earlier is best one so far
05:57 AM JT-Cave: I did find a spidev example talking to the apa102 aka dotstar
05:58 AM JT-Cave: hmm 6 minutes till dawn
05:58 AM XXCoder: https://www.audreyannphoto.com/blog/2015/4/8/how-to-use-kelvin-for-white-balance this uses kelvin chart. i guess it works well
05:58 AM XXCoder: just skip "flash"
06:33 AM Tom_L: finally getting a dribble of rain here
06:34 AM JT-Cave: weird high today 91°F and high tomorrow 77°F
06:41 AM XXCoder: yeah we had 3 day of 90 or so then boom its late spring or early spring weather
06:41 AM XXCoder: its old weather pattern here
06:56 AM JT-Cave: wow I just turned on the apa102 with a few lines of python and no stinking libs
07:03 AM XXCoder: libs add memory usage and take space if it wasnt needed
07:03 AM JT-Cave: and are kornfusing and poorly documented usually lol
07:03 AM XXCoder: in my assembly classes I made my light flash 10 times faster than others simply by removing basically all libraries
07:04 AM XXCoder: 10 times faster than second one, which was twice as fast as third. rest is average, sloping down
07:05 AM XXCoder: funy thing I dont think its broken record still. most people in that class would think all libraries loaded in example code is needed
07:06 AM JT-Cave: https://dpaste.com/2ZU22KLD9
07:06 AM JT-Cave: not exactly sure atm what this step is doing data = clear_state[:]
07:07 AM XXCoder: [:] apparently nukes all old data
07:08 AM XXCoder: no, read a wrong answer
07:08 AM XXCoder: erm misread, it is indeed correct
07:09 AM XXCoder: damn i shouldnt be trying to answer lol
07:09 AM XXCoder: https://www.codecademy.com/forum_questions/517f755cdec198bff6002783
07:09 AM XXCoder: [:] is copy every element. basically array clone so you can modify stuff without losing orginal
07:09 AM XXCoder: previously i saw del array[:] which would remove every entry
07:11 AM XXCoder: essentally data = clear_state[:] copies array to data, function call modifies data array but not clear_state
07:17 AM JT-Cave: https://dpaste.com/5GYH3PXQF
07:17 AM JT-Cave: I don't see any difference
07:18 AM XXCoder: yeah I dont think it actually assigns anything
07:18 AM JT-Cave: >>> spi.writebytes(red)
07:18 AM JT-Cave: >>> spi.writebytes(clear_state)
07:18 AM JT-Cave: both of those work... back to chickens
08:39 AM JT-Cave: XXCoder, if your still awake https://dpaste.com/8BAUKFSQT
08:40 AM XXCoder: nice. dont seem to bother with having extra array now. expecally since function call doesnt alter it
08:40 AM XXCoder: only use I can think is avoiding changing data while data is being written to lcds
08:40 AM XXCoder: *leds
08:41 AM XXCoder: i notice it "travels" down strip. nice
08:42 AM JT-Cave: yeah I slowed down the spi hz and no more issues with odd leds lighting up
08:42 AM XXCoder: first r, g, then b, finally repeat for next led
08:42 AM XXCoder: hitting output hz limit I guess
08:42 AM JT-Cave: actually it's b g r I was guessing at first then I hooked up the color one
08:42 AM XXCoder: oh cool
08:44 AM JT-Cave: https://dpaste.com/3DCXBLBR6
08:46 AM JT-Cave: https://cdn-shop.adafruit.com/datasheets/APA102.pdf
08:46 AM JT-Cave: breakfast time here
08:47 AM XXCoder: pretending to be dead in bed time here
08:47 AM XXCoder: insomia sucks
01:47 PM _unreal_: hello
01:47 PM _unreal_: been in the pool all day
02:05 PM JT-Cave: it's safer to go for a ride in Missouri that eat at a restaurant or go shopping
02:32 PM _unreal_: BS
02:33 PM tiwake: what was the voltage per square inch of surface area needed for anodizing?
02:35 PM CaptHindsight: For type II commercial anodizing clear or dyed parts generally 24 volts is needed. As far as amp capacity a good rule to follow is 10-12 amps for every sq. foot
02:36 PM CaptHindsight: https://www.finishing.com/121/30.shtml
02:37 PM CaptHindsight: https://www.finishing.com/15/74.shtml
02:37 PM CaptHindsight: https://forum.caswellplating.com/forum/anodizing-questions/2761-anodizing-calculations-720-rule
02:38 PM CaptHindsight: the pores you're making are on the right side https://imgur.com/9CdHspn
02:42 PM tiwake: oh right, constant current power supply
02:42 PM tiwake: derp
02:43 PM tiwake: so about 0.08 amps per square inch
02:45 PM CaptHindsight: A/sq ft and divide by 144
02:45 PM tiwake: right
02:45 PM tiwake: 11/144
03:02 PM veegee: The same guy is giving me his full size band saw, radial arm saw, 2 air compressors, and anything else I want from his warehouse for free including like 500 lbs of steel and aluminium stock
03:02 PM veegee: now the problem is I only have until the end of the month to pick it up before his warehouse lease is over
03:02 PM veegee: and I cannot find a god damn truck
03:02 PM veegee: I never had an issue renting a truck before but for some reason the whole city is out of 26 ft trucks
03:03 PM veegee: at least Penske
03:07 PM veegee: I don't know who else rents 26 ft trucks with a lift gate
03:09 PM unterhaus: I know in a lot of places it's the last weekend before all the leases expire
03:09 PM unterhaus: In State College PA, all the leases end at the end of July and new leases begin the first weekend of August
03:10 PM unterhaus: Well, a week apart, so they can redo the apartments
03:10 PM CaptHindsight: veegee: check u-ship is you really get stuck, it's full of truckers looking for side jobs
03:10 PM CaptHindsight: is/if
03:11 PM veegee: CaptHindsight thanks will do
03:11 PM CaptHindsight: keep the "is" if you read this with a Russian accent
03:15 PM veegee: I went and saw the radial arm saw, he said it was "vicious", I believe him
03:16 PM veegee: It's really rigid though, wayyyyy more than enough for wood
03:17 PM veegee: and the bandsaw weighs over 1,000 lbs
03:24 PM Deejay: gn8
03:25 PM tiwake: https://cdn.discordapp.com/attachments/591568563488292927/749238575572451429/20200829_0002.jpg
03:25 PM tiwake: finished making that today
03:28 PM Rab: tiwake, very nice. Is that a big die-cast Hammond box?
03:29 PM tiwake: wut
03:29 PM tiwake: its a piece of sheet aluminum that I welded together into a box
03:30 PM Rab: tiwake, even better.
07:02 PM robotustra: it's a bit slow to drill using DRO
07:12 PM renesis: tiwake: sexy
07:13 PM renesis: rab: the bud boxes look like that dont have countersunk flat screws
07:13 PM renesis: they have ugly self tapping screws
07:45 PM Thorhian: Does anyone have any recomendations on endstops for a milling machine?
08:00 PM CaptHindsight: springs or urethane bumpers
08:25 PM unterhaus: do milling machines have end stops?
08:25 PM XXCoder: if it cnc, it should for better repeatability
08:26 PM unterhaus: rubber is incompressible, you can watch what happens on the hydraulic press channel
08:26 PM XXCoder: ah different meaning of end stops nm lol
08:27 PM unterhaus: I guess I can see it if it's on a machine with wimpy actuation
08:28 PM unterhaus: if my mill hits an end stop, parts will be liberated
08:28 PM unterhaus: at least on the x axis
08:29 PM unterhaus: if there was an end stop in the way, that is one of the parts that would be liberated
08:31 PM unterhaus: Jon Elson got me interested in fixing my lathe instead of cnc-ing it
08:31 PM Thorhian: What kind of sensors should I use for homing. I'm guessing typical mechanical switches often found on 3D printers aren't a great idea?
08:36 PM unterhaus: do you have encoders?
08:37 PM unterhaus: I think people use mechanical switches with an index from an encoder
08:38 PM unterhaus: my switches are much more robust than the microswitches they use on 3d printers, but the concept is similar
08:41 PM unterhaus: I am marveling at the draftsman that did the parts breakdown for the apron on my lathe