<Guest12>
This is making a faceplate for a 4x3 keypad, a 4x20 display and an arduino.
<Guest12>
The module keypad_boss constructs either a pin or a boss for screws. Key_pad_base is the base plate. The boss works fine, but I am trying to get the holes to be a bit deeper into the base plate for they keypad bosses. This version creates the boss fine, but doesn't extend the holes into the base
<Guest12>
The translate[1,15,4] does show the pins protruding through the base, but the render does not. I got a note here that I needed to diff against the palte.
<Guest12>
This module attempts to do so with a second diff using the same pin that made the boss. The test case should drill a hole completely through the base plate.
<Guest12>
This is pretty crusty code, as I am just learning openscad.
<Guest12>
3OQQ seems to be the past id
<Guest12>
what am I missing?
<InPhase>
Guest12: You have to share the url of the paste, or else we can't see it.
aiyion has quit [Remote host closed the connection]
aiyion has joined #openscad
<InPhase>
Guest12: So you mean these 4x3 square holes you want all the way through?
<InPhase>
It looks like you just failed to follow the overlap rule and have one side exactly at the edge of your yellow plate.
<InPhase>
Guest12: In boss_row, set your solidTaperedCube heights to 4.5, and in keypad_bosses set your translate z values from 0 to -1.
mmu_man has quit [Ping timeout: 244 seconds]
<Guest12>
The square holes go all the way through. That is not the problem. You see the bosses next to the square holes?
<Guest12>
They fit the keypad. The way the code is now, it makes a tapered hole, but that hole does not go down into the base plate.
<InPhase>
The square holes actually did not go all the way through.
<InPhase>
They need to go PAST the edge to reliably go through.
<InPhase>
They were flickering like crazy on my screen.
<Guest12>
I want it to insert into the base plate about 2 mm. When I do an F6 render, they work fine, and print fine.
<Guest12>
I see that flicker on my current screen, but on a different computer with a slower older screen and graphic library, there is no flickering.
<InPhase>
Yes, it's display driver dependent. But also the design can fail to render sometimes if you don't follow the overlap rule.
<InPhase>
This is explained in the manual near where difference is introduced.
<InPhase>
So don't count on "seems to work". Instead always put that overlap. :)
<Guest12>
The keypad boss routine, if you comment out the first difference() just after the echo of "make boss" will show the pin that is used to make the hole, and it sticks out the bottom of the faceplate,
<Guest12>
but I can't seem to get it to make the hole through the base (face plate).
<InPhase>
Yes, I see the holes you are talking about now. And you want them what, all the way through the yellow board? Or just inset more into the yellow board?
<InPhase>
I see the problem. You have key_pad_base in two locations.
<InPhase>
So you're putting the hole in one version of it, and then you're rendering another version over the top of your holes.
<Guest12>
inset about 2 mm into the yellow board. That is controlled by translate ([1,15,4]) That shoves them all the way through for debug. doing 1,15,0 makes them flush. 1,15,2 should poke them into the board about 2mm.
<Guest12>
ah. Ok. where is he one I should remove then.
<InPhase>
If you comment out display_cut at line 379, suddenly your holes go through.
<Guest12>
but the display cutout disappears.
<InPhase>
I don't see a display cutout anyway.
<InPhase>
But you'll need to do all your cutouts at the one place that you choose to make your components.
<InPhase>
You can't render a thing multiple times and cut different things out of it. You have to do all your cutouts on the same single object.
<Guest12>
if you put that back in, and do a F5 you should see a magenta block, F6 removes it to create a cutout for the display. Ah. THAT is the issue. I am thinking like a mesh guy. That consecutive things modify the first thing.
<InPhase>
I don't see the magenta block. I had to comment out keypad_boss(0) to see the magenta block.
<InPhase>
You are only seeing it due to a quirk of how your video card handles exactly overlapping objects.
<Guest12>
difference()
<Guest12>
{
<Guest12>
key_pad_base();
<Guest12>
display();
<Guest12>
}
<InPhase>
Some will put one object on the top, some will put another on the top. For me the display cutout is not visible with the version you sent.
<InPhase>
And also when I render it is not there.
<Guest12>
should create the cutout. That is probably because of the render on top issue you pointed out.
<InPhase>
Yeah, it's doing the cutout, and then covering it.
<Guest12>
remove the key_pad_base() in the second difference keypad_boss and it shows up, but there is nothing for the difference to work on.
<Guest12>
This is going to be a controller for rock saw. I lost everything when a slab saw caught fire because it was running unattended. Had to totally start over. This is going to monitor motor RPM, Blade RPM, oil temperature, temperature near the drive belt, and temperature 4 feet above the saw. Any of these gets out of line, shut the saw down.
<Guest12>
This will also work for the controller for a heat treating kiln. In that case, it will control a firing cycle, with multiple steps, with a ramp time to a target and a hold time.
<Guest12>
In that case, there will be 1 or 2 thermocouples. I am a flint knapper. That means I make stone tools like the indians did. expensive stones get slabbed. Most of them have to be cooked for hours at
<Guest12>
around 400-500 degrees to get glossy and work well.
<Guest12>
Designing this to handle both situations. Gotta run. THANKS AGAIN for your time.
<InPhase>
Cool. Sounds like a fun pursuit. Good luck. :)
mmu_man has joined #openscad
L29Ah has quit [Ping timeout: 244 seconds]
L29Ah has joined #openscad
califax has quit [Ping timeout: 264 seconds]
califax has joined #openscad
teepee has quit [Remote host closed the connection]