#linuxcnc Logs

Mar 01 2021

#linuxcnc Calendar

01:15 AM Lcvette: Hey everyone!
01:22 AM roycroft: be careful with that stuff
01:22 AM roycroft: it can put your eye out!
01:22 AM XXCoder: hey
01:22 AM Lcvette: Anyone here running an atc with remap?
02:28 AM rs[m]: lcvette: the question is is anybody actually running a linuxcnc on #linuxcnc ;-)
02:28 AM rs[m]: *is anybobdy on #linuxcnc running linuxcnc
02:28 AM XXCoder: i do, or in least was
02:28 AM Lcvette: lol
02:28 AM XXCoder: machine is down till I have actual space for it
02:36 AM rs[m]: i do run an ATC
02:36 AM rs[m]: lcvette: remember the hint about preview generation on programs that use the same tool twice?
02:37 AM rs[m]: but it is not a really polished workflow, and i think it won't work for more than one tool as it is now, i did it for the one odd thingy that doesn't fit in the toolchanger
02:37 AM Lcvette: interesting
02:38 AM Lcvette: i have one odd thingy that doesn't fit int he tool changer
02:38 AM Lcvette: a 100mm face mill that i uise on almost every job
02:38 AM Lcvette: and have to phib about it in the carousel and use m01 to rmeove it
02:38 AM Lcvette: but its a dangerous game if i forget what im doing
02:38 AM rs[m]: hehe. it is something similar, a flycutter with 150mm knife
02:39 AM Lcvette: yes
02:39 AM Lcvette: it is very late for me now and i need some sleep but i would be very interested to hear more about this method of yours when im awake
02:40 AM rs[m]: you would need some additional code in your toolchanger. i will see if i can dig it up, but it will take a couple of hours till i'm near the machine
02:40 AM rs[m]: (I'm in UTC+2)
02:40 AM Lcvette: thats no problem im gonna be sleeping until tomorrow
02:40 AM Lcvette: :D
02:41 AM Lcvette: im east coast usa, it is 3:30am here
02:41 AM Lcvette: way past my bed time
02:41 AM Lcvette: but i was sorting some things on pB lathe
03:05 AM MrSunshine: hmm is it possible to connect the encoder signals to linuxcnc on for example a closed loop stepper system (the driver does the work but would be nice with feedback to the computer also so it knows where its at)
03:43 AM rs[m]: MrSunshine_: It is possible. what do you want to accomplish with that.
03:55 AM MrSunshine_: so the computer knows where it was when the driver goes into fault mode
03:55 AM MrSunshine_: as you dont know if its 200 pulses or 400 pulses missed before it goes into fault
03:58 AM gloops: the driver would know what was sent to the motors
04:03 AM gloops: if the motors have encoders they can feed back whether the movement was fulfilled
04:04 AM gloops: so where we *should* be can be compared with where we *are*
05:08 AM JT-Cave: morning
05:10 AM JT-Cave: usually steppers with encoders use special drives and the drives take care of making the stepper be where it should be
05:11 AM JT-Cave: LinuxCNC has no way of knowing if your stepper is moving or not so can never go into fault for that reason
05:46 AM gloops: yeah the 'closed loop' stepper/driver kits loop between driver and motor as a rule i think, you can create a complete loop back to linuxcnc though?
05:51 AM gloops: made first gcode for 6 months...weird, cant even find a usb stick
05:52 AM gloops: all my old system has gone
06:28 AM -!- #linuxcnc mode set to +v by ChanServ
06:41 AM gloops: having a slight anomaly with 0 cordinates as well, linuxcnc doesnt seem to be remembering to stay in g54 after closing
06:49 AM JT-Cave: are you changing it in the ini file?
06:55 AM gloops: not changed anything that i know of, esc key was pressed down for a while under edge of table yesterday for some time without me knowing thats all i can think of
06:55 AM gloops: its cutting now anyway
06:58 AM gloops: can recommend dry lining if anyone wants noise reduction anyway, that was the last thing i did last year - used to sit here and listen for the machine finishing - cant hear it at all now
07:17 AM JT-Cave: got a photo of it?
07:17 AM JT-Cave: after you close LinuxCNC look at 5220 parameter in the .var file, that's the current coordinate system
07:31 AM MrSunshine_: gloops, need to power down the drives to reset the alarm .. so all position data in the drives would be lost i would guess
09:22 AM roycroft: happy march, folks
09:24 AM roycroft: it is another glorious day here in the pacific northwet - sunny, and a forecast high of 16
10:17 AM Eric__: 39F here in muddy Central Pennsylvania. The snow hasn't melted from on top of my oregano plant, really curious how it's doing
10:18 AM Eric__: I have been told by people that live this far north that it survives okay.
10:26 AM roycroft: i can harvest most of my herbs year-round
10:26 AM roycroft: my climate is rather mild
10:27 AM roycroft: but a few years ago it got down to -24c
10:27 AM roycroft: the lowest temperature ever recorded here
10:27 AM roycroft: my oregano survived that
10:40 AM Loetmichel: *wheeze* *COUGH* Maaan, i am getting old... just dropped my car at the mechanic and walked home a mere 3.3km (2 miles) in half an hour... TOTALLY out of breath... i can remember when i walked 21km (13 miles) home from work when i missed the last bus... OK, that was 35 years ago :)
10:46 AM FinboySlick: Loetmichel: "You're only young once, but you can be immature forever." -- Jimmy Urine
10:49 AM Loetmichel: FinboySlick: how true
10:50 AM FinboySlick: I like that a guy who's stage name is 'Jimmy Urine' said that ;)
10:57 AM Eric__: roycroft, ever tried leaving sage out?
10:58 AM roycroft: yes, sage survives well
10:59 AM roycroft: when we had that record cold, the only things that died were rosemary and french tarragon
10:59 AM roycroft: both of wich i expected to die
11:02 AM Eric__: I suppose transplanting it now wouldn't be wise though
11:02 AM roycroft: no, it wouldn't
11:05 AM Eric__: I'm in hardiness zone 6, so it should work. 5-8 is ideal
11:07 AM Eric__: we are supposed to have nights that stay above freeing in a week
11:13 AM roycroft: any harm that would come to your herbs has already happened
11:13 AM roycroft: just leave them be
11:14 AM roycroft: and see how they are once it warms up
11:38 AM Eric__: I have a sage plant indoors in a container. It would be nice to be able to leave it outdoors, drives my wife crazy
11:39 AM Eric__: I might start putting it out during the day when it's above freezing
12:36 PM bjorkintosh: https://books.google.com/books/about/Numerical_Control.html?id=JNlSAAAAMAAJ
12:36 PM bjorkintosh: for those interested in that sort of thing.
12:36 PM bjorkintosh: This remarkable account describes the development of numerical control, the principal method used in the automatic control of machine tools.
12:55 PM roycroft: tartan weaving looms in scotland were some of the first machines ever to use numeric control
01:03 PM bjorkintosh: not Mssr Jacquard of the eponomous loom?
01:03 PM bjorkintosh: there's a 'y' in there somewhere.
02:02 PM * JT-Shop sits down to open the box from Woodcraft and all the while wonders if he got the right can this time
02:03 PM JT-Shop: so far so good it seems to be a quart can of something
02:08 PM JT-Shop: yippie it's a can of Tried & True Varnish Oil
02:09 PM roycroft: awesome
02:09 PM roycroft: now you can experience the joy
02:11 PM htasta: isn't sniffing varnish bad for your health? I get it, it brings joy but y'know ...
02:11 PM htasta: :D
02:11 PM roycroft: tried & true is made of all natural ingredients and is non-toxic
02:11 PM roycroft: i mean, if you drink a big slug of it you might throw up
02:12 PM roycroft: but it's not going to kill you
02:12 PM XXCoder: snake poison is natural
02:12 PM XXCoder: so are uranium ore
02:12 PM roycroft: i did not say it's made of all natural ingredients
02:13 PM roycroft: i said it is made of all natural ingredients and is non-toxic
02:13 PM internut: when people tell me "it's all natural" I say, "So is Hemlock"
02:13 PM XXCoder: i know
02:13 PM XXCoder: what im saying is that "natural" is meaningless word
02:13 PM roycroft: neither of those things depends on the other
02:13 PM roycroft: it's not at all meaningless
02:13 PM roycroft: in the context of toxicity, perhaps
02:14 PM Rab: I go straight for the inorganic grapes, myself.
02:15 PM roycroft: i used some tried & true just yesterday
02:15 PM roycroft: it made the walnut trim look really pretty
02:15 PM XXCoder: roy for example "organic" farming. often it means they use much more pesticles
02:15 PM roycroft: and even the boring birch bit looks pretty
02:16 PM internut: I worry about all of the chemicals in the environment that never existed before humans made them
02:16 PM XXCoder: and less researched and tested ones too
02:16 PM internut: PCBs for example
02:16 PM * JT-Shop is still making parts for work...
02:17 PM roycroft: internut: https://www.youtube.com/watch?v=nXlBESlGFPE
02:17 PM XXCoder: im not protesting that "natural" is a thing. im protesting the assertion that "natural = good"
02:17 PM JT-Shop: looked at my lye water this morning and it looked like lye water but didn't have time to get the SG
02:18 PM XXCoder: jt successfully dissolved ash in water and extracted lye? or boughtit?
02:18 PM internut: roycraft :hehehe
02:19 PM XXCoder: roycroft: whats it about? its not captioned
02:19 PM JT-Shop: in my lye making bucket
02:19 PM XXCoder: nice
02:19 PM roycroft: it's about worrying about things
02:19 PM XXCoder: ah
02:20 PM roycroft: i can't find a captioned version
02:20 PM roycroft: it's probably too hard to auto-capture terry jones when he's singing so sadly
02:21 PM XXCoder: oh well heh
02:22 PM htasta: XXCoder: natural = good in the sense that it's part of a cycle and not an end stop which imo is "good"
02:23 PM * JT-Shop may knock off work early if the boss is not looking and work on the workbench fixing blocks
02:23 PM XXCoder: i wouldnt call digging up uranium ore from earth, turning it to fuel, then carefully hold spent fuel for thousand+ years "part of cycle"
02:23 PM htasta: want me to distract your boss? I can pretend to order something :P
02:24 PM htasta: XXCoder: is that natural?
02:24 PM XXCoder: JT-Shop: wear eye covers
02:24 PM XXCoder: well basically. its dug from earth
02:24 PM htasta: so your argument is everything is natural so everything bad is also natural.
02:24 PM XXCoder: not at all
02:25 PM XXCoder: I just say that natural does not automatically good
02:25 PM XXCoder: no more or less
02:25 PM htasta: so what isn't natural?
02:25 PM XXCoder: its just all chemistry and physics
02:26 PM XXCoder: thats why I dont use "natural" to judge things at all
02:26 PM XXCoder: only if its good or bad for us or envorment, or both
02:26 PM htasta: so you don't wanna make a call on what's natural?
02:26 PM internut: how about 'natural' bewbs vs 'not natural'?
02:27 PM XXCoder: dont want? yes when its no point
02:27 PM XXCoder: internut: not remotely same
02:27 PM htasta: then why fight the notion that "natural = good"? makes no sense what so ever
02:27 PM XXCoder: because that is a pre-judgement
02:27 PM htasta: if you don't make a call on natural you can't give it quality.
02:28 PM XXCoder: internut: honestly im against silican packs, but because its extremely bad to health if it leaks
02:29 PM XXCoder: if lady needs it to even up or ego thing i dont care
02:29 PM internut: I think they use mostly saline now
02:29 PM XXCoder: ah thats good :)
02:29 PM internut: my daughter has 'em
02:29 PM internut: I didn't like the idea
02:29 PM XXCoder: curious why if not too nosy
02:29 PM internut: but, it's her body and money
02:29 PM XXCoder: always wondered
02:29 PM htasta: that's why there are saline breast implants ;-)
02:30 PM internut: not sure
02:30 PM internut: she wanted them
02:30 PM XXCoder: yea she own body. i may be puzzled on why but well
02:30 PM htasta: helps in all kinds of situations.
02:31 PM htasta: being sexually attractive opens doors and opportunities
02:31 PM XXCoder: thats not great statement
02:31 PM XXCoder: not all ladies move up that way
02:31 PM htasta: I don't get to decide how people function :D
02:31 PM XXCoder: but sadly its how it goes sometimes.,
02:32 PM JT-Shop: it's like getting tattoo all over your body
02:32 PM XXCoder: what is?
02:32 PM htasta: tattoos give you opportunity and make you sexually attractive, right JT
02:32 PM htasta: :P
02:34 PM JT-Shop: implants
02:35 PM JT-Shop: I don't like tattoo but don't judge anyone that has them like my youngest daughter
02:36 PM XXCoder: I always wanted 2 tattoos. just words.
02:39 PM htasta: literally "just" and "words"? :P
02:39 PM JT-Shop: hmmm my wife has tattoo eye brows
02:41 PM htasta: i got one from when I was traveling. we hung out in a tattoo studio a lot so I thought before I go back home that's what I will take back home as a forever reminder. well forever until my leg is chopped off :D
02:42 PM XXCoder: htasta: har har
02:42 PM XXCoder: yeah two words: "Science" and "Humanity"
02:45 PM htasta: you never got to it or you still wanna do it?
02:46 PM XXCoder: want to, but didnt do it yet
02:58 PM unterhaus_: I know someone that has useful scales tattoos
02:58 PM unterhaus_: I guess it's not exactly metrology accurate though
02:59 PM internut: I've always wanted the C language precedence of operations tattooed on me
03:01 PM roycroft: i've never been a fan of tattoos
03:01 PM roycroft: it's probably a generational thing
03:02 PM roycroft: i don't think poorly of people who get them
03:02 PM roycroft: they are just not my thing
03:17 PM * JT-Shop feels the same way about tattoos
03:17 PM JT-Shop: 2 more parts to make and the dog is done
03:22 PM XXCoder: woof
03:25 PM JT-Shop: https://gnipsel.com/images/customers/Foxy/dog-01.jpg
03:25 PM JT-Shop: https://gnipsel.com/images/customers/Foxy/dog-02.jpg
03:26 PM JT-Shop: that's the locking dog, the drive dog is on the other end of the stick of wood
03:26 PM XXCoder: amazing, the contrast
03:40 PM JT-Shop: how's that?
03:40 PM XXCoder: quite old machine part and brand new 21st centry parts :)
03:41 PM JT-Shop: yeah, that part was most likely made in the late 1800's
03:49 PM JT-Shop: hmmm I wonder if I made CAD drawings of the cover bits
03:49 PM XXCoder: good idea for remakable
03:49 PM XXCoder: *re-makeable parts ie you can majke it again in future
03:51 PM XXCoder: puf that sucks. I went with rpi4 as computer for lasercut and it works well
04:46 PM puff: XXCoder: Lasercut?
04:46 PM XXCoder: ugh i misread sorry
04:46 PM puff: XXCoder: To be clear, are you saying LaserCut Pro runs on linux?
04:46 PM puff: Aha.
04:46 PM XXCoder: i used laserWEB
04:46 PM puff: How good is it and how much does it cost?
04:47 PM XXCoder: free. quite good, just dont use it as cam
04:47 PM XXCoder: because its cam sucks
04:47 PM puff: CAM meaning to create the design?
04:47 PM XXCoder: no, cad is computer assisted design
04:47 PM XXCoder: cam is computer assisted machining ie it makes gcode
04:47 PM puff: Ah... so basically don't use it for the main thing I need it for :-)
04:48 PM XXCoder: its to control a laser machine. id rather use linuxcnc but well
04:48 PM XXCoder: for laser cam I use inkscape
04:50 PM internut: Haven't quite gotten the hang of inkscape
04:50 PM puff: XXCoder: So I'm a little unclear on what these terms mean in practice. I know what the acronyms stand for, and I know what gcode is, but the way you're using the terms seems ambiguous.
04:50 PM internut: I think you design in CAD
04:50 PM puff: internut: Inkscape is neat, I'm better at it these days after needing to work with it on some projects, but none of those were CNC related.
04:50 PM XXCoder: roughly cad is modeling what you want, cam turns that into machine code to run it
04:50 PM internut: and CAM turns it into commands
04:51 PM internut: I haven't gotting inkscape to do what I want yet
04:51 PM puff: Okay, so CAD -> creating the design, CAM -> converting the design into gcode, controller -> converting the gcode into motor control signals on a CNC.
04:51 PM puff: Right?
04:51 PM puff: internut: What do you want it to do?
04:51 PM internut: bingo
04:51 PM XXCoder: puff exactly
04:51 PM XXCoder: puts it better than I can
04:51 PM internut: I want to expose a photosensitive PCB
04:52 PM internut: with a laser
04:52 PM puff: ok
04:52 PM puff: Right, burning away a mask, etc.
04:52 PM internut: not burning it away
04:52 PM internut: that would be isolation routing
04:53 PM internut: I want the toolpath that does the opposite of a cutter
04:53 PM internut: in fact, I've tried to turn svg into a 3d shape that I can run through a slicer
04:53 PM internut: 'logically' it's like 3D printing in copper
04:53 PM puff: I'm still unclear what you want then.
04:54 PM internut: I'm trying to make a PCB
04:54 PM puff: Wait, so you basically want to invert an image?
04:54 PM puff: internut: I got that part.
04:54 PM internut: by running the laser everywhere I WANT copper
04:54 PM puff: Right.
04:54 PM internut: so, it's additive
04:54 PM internut: like 3D printing
04:55 PM puff: Well no, the laser isn't depositing anything.
04:55 PM internut: it polymerizes the film
04:55 PM puff: The light causes a change in the material that then either cures the material so it remains when you put some sort of wash on it, or ?
04:55 PM internut: and then you wash away the remainded
04:55 PM puff: Right.
04:55 PM internut: and then you wash away the remainder
04:55 PM puff: Okay, so you have an image of the copper you want, and you want to figure out how to laser everything else.
04:56 PM internut: no
04:56 PM internut: i want to laser the copper I want
04:56 PM puff: Ah.
04:56 PM puff: So what's the problem you're having?
04:56 PM internut: as though it were an additive process
04:56 PM internut: the problem is finding a workflow that works
04:57 PM internut: there's a different technique called isolation routing
04:57 PM puff: That's not useful information.
04:57 PM internut: that removes copper AROUND your traces
04:57 PM puff: Okay.
04:57 PM puff: "doesn't work", what it lays on the couch and plays video games all day long?
04:57 PM internut: there's plenty of software that does that
04:58 PM internut: what I want to do seems to be less common
04:58 PM puff: So you have the design for the traces, you need to convert it to DXF and then feed it into something that generates gcode?
04:58 PM internut: I can get gerbers, dxf, and scg
04:58 PM internut: svg
04:58 PM internut: from kicad
04:58 PM internut: I have yet to find the magic to make gcode out of it
04:59 PM internut: some things have sorta worked, some things have failed utterly
04:59 PM internut: add to that the fact that most of these tools are new to me
04:59 PM internut: and grrrrr
05:00 PM Tom_L: JT-Shop, gonna work on those until your 2nd retirement?
05:00 PM internut: freecad appears to have the required features but it hangs forever when I try to do things
05:07 PM internut: hey, I may have gotten some gcode out of inkscape
05:10 PM internut: so, it's drawing the outlines of the pads and the traces are one pass of the laser (.02mm) wide
05:13 PM internut: puff what are you doing in the cam world?
05:16 PM gloops: fusion 360?
05:17 PM puff: internut: Ah, yeah, inkscape is the wrong tool to produce gcode. It produces svg, dxf, etc. Most gcode-producing tools take dxf from what I've seen.
05:17 PM puff: internut: Mostly fixing my makerspace's laser :-). I have a bunch of projects I'd like to do, now I need to work on the CAD side to do them.
05:18 PM internut: I see
05:18 PM internut: what cad do you use?
05:19 PM gloops: you can get gcode from inkscape, although ive never tried it, try fusion 360, theres a student/starter license free so long as you arent making more than about 100k
05:19 PM internut: Someone pointed to a gcode generator
05:19 PM internut: it produced gcode, but, it's not really suitable
05:22 PM gloops: you can cobble together 3 or 4 open source apps to get cad and cam, but really its a mess about, people are using freecad to do serious work now, f360 is a lot better though
05:22 PM XXCoder: yeah and f360 is slowly crushing down on free users
05:22 PM XXCoder: thats why theres bump in freecad interest so far
05:22 PM puff: Both fusion 360 and vcarve are commercial, the makerspace has a license for vcarve so you can use the free/demo version to create the design, then bring it into the makerspace to produce gcode.
05:23 PM gloops: id heard that XXCoder, i got it a few years back and only used it for a while, not looked at it recently
05:24 PM internut: yeah, I've kinda wanted to avoid 360
05:25 PM Rab: I do all my 2D milling with Inkscape. gcodetools works great.
05:27 PM internut: okay
05:27 PM gloops: inkscape drawing is pretty much equal to vectric
05:27 PM internut: can I tell it to use a .02mm end mill?
05:30 PM internut: okay, I found a video on gcodetools
05:30 PM puff: internut: In terms of CAD I'd *like* to use, I like sketchup's UI but I've only ever done concept sketches in it, so I dunno how well it would work for designs with detailed measurements.
05:30 PM internut: I see
05:30 PM puff: I like inkscape for drawing in general but the UI has some rough edges.
05:31 PM puff: I miss corel draw :-)
05:31 PM Rab: Gotta run, but this is easy for isolation routing: http://flatcam.org/
05:31 PM internut: I'm a programmer. I <3 OpenSCAD
05:31 PM internut: yeah, not doing isolation routing
05:31 PM puff: Yeah, I'm a dev too. I haven't messed with OpenSCAD much.
05:31 PM internut: it's a hoot
05:31 PM roycroft: i'm odd - i actually like the solidworks user interface a lot
05:31 PM internut: you don't draw, you describe
05:31 PM roycroft: and i'm not sure i really like autocad, but i've been using it for so many years i'm quite comfortable with it
05:31 PM puff: Yeah, it sounds cool.
05:32 PM puff: I've heard good tings about solidworks.
05:32 PM roycroft: i like openscad, but so far i've not had the patience nor time to build up a good set of macros to make it efficient for me to use
05:32 PM puff: I definitely need to get down and dirty with some tools and learn how to use them to produce designs.
05:32 PM roycroft: and i like the idea of freecad, but it's still pretty weird to me
05:32 PM roycroft: i don't quite grok it yet
05:33 PM roycroft: i also find that freecad behaves quite differently on every install i do of it
05:33 PM roycroft: which doesn't help matters much
05:33 PM internut: I've had some freecad heartburn
05:33 PM roycroft: i want to like it
05:33 PM roycroft: i really do
05:33 PM puff: Hm, here's an odd question... I'd like to have (or ideally create) an app where you hand it a 3D object shape and it produces a set of designs to make 2d cutouts to support it.
05:33 PM roycroft: but to date it's been mostly annoying
05:34 PM roycroft: solidworks is pretty good at generating 2d drawings of models
05:34 PM gloops: puff sketchup, with slicer ..or F360 lol
05:34 PM puff: So the obvious idea is, if you have a library that supports doing so, basically doing an inverse of a slice. E.g. given an object, position a plane so it intersects it, and then subtract the intersection from the plane.
05:34 PM internut: puff, something I do a lot in openscad is, model the shape of a thing, and then subract that from something else
05:35 PM gloops: yes. like for those animals and slotted shelves
05:35 PM gloops: i made a few ages ago, not used it since
05:35 PM puff: Yeah, ideally what I'd like, and seriously thinking about trying to code it someday, is a tool that you point at the object file and it generates a set of 2D cuts.
05:35 PM puff: 2d cut designs. Then you run them through your gcode producer and cut them on a CNC.
05:35 PM puff: And then put them together and you have a case designed to hold that object.
05:36 PM puff: internut: I was just skimming a video on openscad and thinking to myself that it looks like openscad might be the tool to build that with.
05:36 PM puff: gloops: And yes, precisely, the 2D cuts would slot together,.
05:36 PM internut: I've used it a lot for 3D printing
05:36 PM gloops: what i did in sketchup, load the 3 model, run slicr, you get the option to choose how many divisions, vertical/horizantal etc, whether you want the interestions cut out
05:37 PM gloops: that generates a set of vectors
05:37 PM gloops: you then have to take those to your cam app
05:37 PM gloops: horizontal
05:38 PM roycroft: i don't know anything about sketchup except it's a google product and it's a web app
05:38 PM roycroft: each of which is a disqualifier for me
05:38 PM roycroft: i know a lot of folks use it, so it is likely at least somewhat useful
05:38 PM gloops: there is/was an old version online of sketchup that runs offline
05:39 PM puff: gloops: Wait, so sketcher has a slicer plugin?
05:39 PM gloops: its..well ok i suppose, i never took to it
05:39 PM gloops: puff yes
05:39 PM gloops: ive still got it somewhere, along with 90 other apps i dont use
05:39 PM puff: roycroft: Mainly sketchup is just a very nice UI for building 3D shapes, for amatuers.
05:40 PM gloops: try sketchup 2016 or 2017 for offline
05:40 PM gloops: of the two i preferred the F360 slicer
05:40 PM gloops: a few more options, tilt and so on
05:41 PM roycroft: my version of solidworks (2012) does not need to call home, ever
05:41 PM roycroft: but i'm not sure if current versions do
05:41 PM roycroft: it's moot, because i can't cost justify reinstating support so i can upgrade
05:42 PM roycroft: plus, i run solidworks in a vm, and while performance is fine with the version i have, i've concerns that if i were to upgrade it would just frustrate me with how slowly it would run
05:43 PM roycroft: as i said, i want to like freecad
05:43 PM internut: vms are pretty fast these days
05:43 PM roycroft: i want that very badly
05:43 PM internut: lots of support in hardware now
05:43 PM roycroft: yes, it's not the hypervisor that is the issue
05:43 PM roycroft: it's the host machine and how much in the way of resource i can afford to give the hypervisor to run the vm
05:44 PM roycroft: i can run solidworks 2012 comfortably in windows 10 with 4GB of memory
05:44 PM roycroft: newer versions would liklely require 8GB or more
05:44 PM roycroft: and my laptop only has 16GB of physical memory
05:45 PM roycroft: and it's always busy doing things other than running cad
05:45 PM internut: sounds like you need more computing power
05:45 PM internut: :)
05:45 PM roycroft: what i have works
05:46 PM roycroft: i just need to be careful when considering software upgrades
05:47 PM roycroft: freecad runs natively on mac os
05:48 PM internut: I'm mostly running on a mac
05:50 PM roycroft: it would be nice to get new machines, but that would easily cost moe over $5k
05:50 PM roycroft: me
05:51 PM roycroft: money that i could put to other uses that i could justify a lot more than computer upgrades
05:51 PM internut: if it works for you
05:57 PM roycroft: it does, for me
06:03 PM roycroft: it got up to 17 again today
06:03 PM internut: 17?
06:03 PM roycroft: 17 degrees
06:03 PM internut: C or F?
06:03 PM roycroft: c
06:03 PM roycroft: as in "correct" :)
06:03 PM internut: where are you?
06:03 PM roycroft: western oregon
06:03 PM internut: IC
06:04 PM internut: near Salem?
06:06 PM roycroft: no, eugene
06:07 PM roycroft: i should go tidy my shop while waiting for paint to dry
06:07 PM internut: l8r
06:07 PM roycroft: i'm getting behind on tidying
06:07 PM roycroft: ciao
06:07 PM internut: I'm always behind on tidying
06:08 PM internut: it's okay, I'm clutterblind
08:21 PM Rab: <internut> yeah, not doing isolation routing
08:22 PM Rab: internut, sorry, I see that now. It doesn't look like FlatCAM will do straight plotting to gcode.
08:24 PM Rab: It's a tantalizingly simple problem, because Gerber/RS-274X is a superset of gcode...I don't think most gcode processors will appreciate straight RS-274X, though.
08:27 PM Rab: I would be tempted to write a simple script to translate the gerber coordinates to gcode G01 commands (assuming KiCad's gerbers don't implement arcs, which they almost certainly don't). In fact I made a bash script to translate an old, proprietary EDA format to gcode that way.
08:52 PM skunkworks: eagle has a few gcode generators for it..
08:54 PM Tom_L: i tried one from eagle that did ok
08:54 PM perry_j1987: hi guys
08:54 PM perry_j1987: trying single point threading on this new lathe for first time
08:55 PM perry_j1987: but it pauses soon as it gets to the lines to start cutting threads
08:55 PM perry_j1987: odd
08:56 PM Tom_L: post it
08:56 PM Tom_L: not that anybody can help :)
08:56 PM perry_j1987: im lookin through things now
08:56 PM perry_j1987: i think somethings not stiched together right in my config
08:57 PM perry_j1987: not gcode prob
09:00 PM perry_j1987: looking at hal meter hm2 7i96.0.encoder.00.input-a shows activity when i move the chuck
09:00 PM perry_j1987: same with input-b
09:00 PM perry_j1987: input-index just shows true
09:00 PM perry_j1987: no activity on full rotation of chuck it seems
09:02 PM perry_j1987: unfortunately i cant post my hal no internet out here at the shop
09:11 PM Tom_L: the index pulse happens pretty quick so you may not see it
09:11 PM perry_j1987: i verified it looks like its pulsing
09:11 PM perry_j1987: with the scope on the connector on the 7i96
09:11 PM perry_j1987: so its gotta be something not stitched right in the hal?
09:12 PM Tom_L: did you set it up for synchronous motion?
09:12 PM perry_j1987: how/where do i check
09:12 PM Tom_L: in the hal
09:12 PM perry_j1987: what section
09:12 PM Tom_L: just a sec
09:13 PM perry_j1987: ty sorry
09:16 PM Tom_L: i don't remember exactly how i did it but it's in my hal file
09:16 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/configs/NEW_MILL_SHOP_2.7/new_mill.hal
09:16 PM Tom_L: search for sync
09:16 PM perry_j1987: ok
09:16 PM perry_j1987: looking
09:16 PM Tom_L: and see if you can make sense of it
09:17 PM Tom_L: net spindle-index-enable motion.spindle-index-enable <=> hm2_[HOSTMOT2](BOARD).0.encoder.01.index-enable
09:17 PM Tom_L: other than the scaling that may be the magic line but i'm not sure
09:18 PM Tom_L: my config files are a mess right now
09:18 PM Tom_L: been making some changes
09:19 PM perry_j1987: i have a line net spindle-index-enable <=> hm2_7i96.0.encoder.00.index-enable
09:19 PM Tom_L: i've done rigid tapping with that config so i know it works
09:19 PM Tom_L: i dunno if single point is different on a lathe
09:20 PM Tom_L: what gcode are you using for it?
09:21 PM perry_j1987: tried with caned cycle and without
09:21 PM perry_j1987: both just pause once it moves into place and hangs there
09:21 PM Tom_L: http://linuxcnc.org/docs/2.8/html/gcode/g-code.html#gcode:g33
09:21 PM perry_j1987: your line has motion.spindle-index-enable added to the line
09:23 PM Tom_L: were you using G76?
09:26 PM perry_j1987: i tried both g76 and g33
09:26 PM Tom_L: what happened?
09:27 PM perry_j1987: it does all the moves its going to do up until it is suppose to start cutting the threads
09:27 PM perry_j1987: then just sits there spindle still spinning
09:29 PM Tom_L: doesn't sound like it's sync'd yet
09:30 PM perry_j1987: ya
09:30 PM perry_j1987: got speed working and displaying
09:30 PM perry_j1987: but not syncing it seems
09:31 PM Tom_L: make sure the index channel is working
09:31 PM perry_j1987: how
09:31 PM Tom_L: good question :)
09:32 PM Tom_L: it's hard to see
09:41 PM perry_j1987: actually not seeing anything on the oscilloscope
09:41 PM perry_j1987: probing between the necoder black wire and blue wire
09:42 PM perry_j1987: stays high at near 5v
09:45 PM perry_j1987: a and b show on the scope nicely though
09:46 PM Tom_L: it's a rather short pulse
09:47 PM Tom_L: you need to find where it triggers and move it slowly to see it
09:47 PM perry_j1987: ok ya i think i found it
09:50 PM perry_j1987: ya ok i found it for sure heh
09:50 PM perry_j1987: its high and pulls it low when it triggers
09:58 PM Tom_L: does that need to be inverted?
09:58 PM Tom_L: you said the signal showed true
10:01 PM perry_j1987: actually was testing that now
10:02 PM perry_j1987: constant surface speed is working btw
10:05 PM perry_j1987: but thats not sync?
10:07 PM perry_j1987: https://www.forum.linuxcnc.org/27-driver-boards/37041-mesa-7i96-spindle-encoder-on-lathe this guy says some lines are needed i doublechecked i have them in my hal
10:07 PM perry_j1987: Hakan
10:08 PM Tom_L: css isn't sync no
10:09 PM Tom_L: if you use css you better set a limit on the spindle speed
10:12 PM perry_j1987: i do in fusion
10:12 PM perry_j1987: so the line its hanging is G76 P1. Z-6.75 I-6.7 J0.33 K1. R1. Q0. H1. E0.5 L0
10:15 PM -!- #linuxcnc mode set to +v by ChanServ
10:25 PM W1N9Zr0: your index is not working or not wired in HAL properly if it's hanging there
10:25 PM W1N9Zr0: you can test that the index pulse is working by setting encoder.01.index-enable to 1
10:25 PM W1N9Zr0: note down encoder.01.rawcounts and counts
10:26 PM W1N9Zr0: then turn your spindle one full rotation and see that rawcounts went up, and counts stayed in about the same range
10:26 PM perry_j1987_: if you were talking to me i missed it
10:26 PM perry_j1987_: internet went down and reconnected
10:26 PM W1N9Zr0: > your index is not working or not wired in HAL properly if it's hanging there
10:26 PM W1N9Zr0: > you can test that the index pulse is working by setting encoder.01.index-enable to 1
10:26 PM W1N9Zr0: > note down encoder.01.rawcounts and counts
10:26 PM W1N9Zr0: > then turn your spindle one full rotation and see that rawcounts went up, and counts stayed in about the same range
10:28 PM perry_j1987_: https://pastebin.com/k0q8ceu8
10:28 PM perry_j1987_: i found a way to get internet on the cnc computer from my cell phone heh
10:33 PM W1N9Zr0: not sure this is the problem, but i think this line should be => instead of <=> since PID should not write index-enable: net spindle-index-enable <=> pid.s.index-enable
10:35 PM perry_j1987_: no change with that done
10:35 PM perry_j1987_: also doesnt seem to have broken anything heh
10:38 PM perry_j1987_: just to go over it, i got the a+ b+ z+ wired into the right spots on the 7i96 board i verified heh
10:43 PM W1N9Zr0: what does hal meter say about spindle-index-enable? should be false normally, and become true when you run G76
10:44 PM perry_j1987_: looking
10:45 PM perry_j1987_: ok hal meter got it looking at hm2_7i96.0.encoder.00.index-enable
10:46 PM perry_j1987_: false
10:46 PM perry_j1987_: start gcode and runs go the g76 line and it goes true for moment then false
10:47 PM perry_j1987_: maybe i was just seeing things
10:47 PM perry_j1987_: just did it again
10:47 PM perry_j1987_: and stayd false
10:47 PM W1N9Zr0: that sounds right, it should go to true, then encoder hits the zero pulse and sets it back to false
10:48 PM W1N9Zr0: are you sure it's not moving, it might be moving really slowly? is your RPM displaying correctly?
10:49 PM perry_j1987_: speed apears right on the panel
10:50 PM perry_j1987_: hmm whats the mdi command to sync
10:50 PM perry_j1987_: with some real high feedrate so we can test that
10:50 PM perry_j1987_: move chuck by hand to see z moving etc
11:01 PM W1N9Zr0: i don't think there's a command to just sync the two, but you could try G33 with a low spindle speed and high movement distance
11:01 PM W1N9Zr0: and graph hm2_7i96.0.encoder.00.position on hal scope
11:05 PM perry_j1987_: ya it just doesnt want to do sync moves
11:05 PM perry_j1987_: this is frustrating and my feet are ice blocks on this concrete lol
11:08 PM XXCoder: ohh maybe good? https://hackaday.com/2021/03/01/open-source-cam-software-in-the-browser/
11:08 PM XXCoder: internut:
11:11 PM perry_j1987_: looks like might need JT-Cave to take a look at this config
11:15 PM W1N9Zr0: use hal scope or hal meter to look at hm2_7i96.0.encoder.00.position, it should count up fractional revolutions when your spindle is spinning and reset and start again when you start a synced cycle
11:17 PM perry_j1987_: i just did the thing where halcmd sets spindle-index-enable true
11:17 PM perry_j1987_: and halmeter was true then i spun the chuck by hand till it went false again
11:17 PM perry_j1987_: so it appears to be detecting it
11:19 PM perry_j1987_: yep it doe
11:19 PM perry_j1987_: does
11:19 PM perry_j1987_: just tested that position goes up when i spin by hand
11:19 PM W1N9Zr0: counts up by 1 every revolution?
11:19 PM perry_j1987_: then i enable spindle and keep spinning it and it resets the counter
11:20 PM perry_j1987_: no
11:20 PM perry_j1987_: it appears like its accurately counting up
11:20 PM perry_j1987_: like using the A/B signal or something
11:20 PM perry_j1987_: or is that what you mean
11:20 PM W1N9Zr0: yes, but it should still go from ~0 to ~1 for a full revolution
11:20 PM perry_j1987_: its fractionally counting but appears the whole numbers are rotations
11:21 PM W1N9Zr0: ok cool, that sounds like your scale is correct then too
11:21 PM perry_j1987_: aye and speed display works right
11:25 PM W1N9Zr0: spindle.0.at-speed should be wired to something for synced motion to work, not sure if just using a single within nothing else counts
11:26 PM W1N9Zr0: and Tom_L's config has this near component too: http://linuxcnc.org/docs/html/examples/spindle.html#_spindle_at_speed
11:26 PM W1N9Zr0: s/single/signal
11:27 PM perry_j1987_: you mean line 203?
11:27 PM perry_j1987_: on mine?
11:27 PM W1N9Zr0: yeah, but you just wired it to a true signal
11:27 PM perry_j1987_: net spindle-at-speed => spindle.0.at-speed
11:28 PM W1N9Zr0: not another comp
11:28 PM perry_j1987_: this was generated from the mesa config tool
11:57 PM snakedGT is now known as snaked