--
You received this message because you are subscribed to the Google Groups "swindon-hackspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swindon-hacksp...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Read a short post on the OpenSCAD git that suggested NaturalDocs might be easier to use and compatible with OpenSCAD source...
--
Dome - so long as there are some mounting holes for the cover on the base plate and they are generically placed then I'd say go with the idea of interchangeable lids and then we could have a few options available.
On 16 October 2014 13:14:47 Damian Axford <dam...@axford.me.uk> wrote:
Documentation - there doesn't seem to be a community default, so lets go with NaturalDocs, at least for nowDome - I'm fairly easy either way, but would like to play with adding domes to the little robots just to make them look cool :) Plus I love the idea of having a range of interchangeable shells to personalise the robots, and/or feed into MeshMixer for making bonkers variants.
--
--
--
To unsubscribe from this group and stop receiving emails from it, send an email to swindon-hackspace+unsubscribe@googlegroups.com.
--
Do you want me to write something up about the design flow?
Do you think you can cover the git stuff in <45min?
@Jamie - I think you're right. Let's kickoff next week with a quick intro to git and then we can get stuck into peoples various design files. Do you think you can cover the git stuff in <45min? that'll leave plenty of time to work through OpenSCAD stuff.
--
"How to 3D Print with Flexible Filaments"
--
@Jamie - will aim for 7, but feel free to start without me and I'll play catchup.
--
--
@Jamie - yeah, come on - catchup :)
--
Oh sorry I didn't know you were doing the led! It was down as "?" on the list of who was doing what and I needs one, so I figured I might as well do it.
You're doing an arduino according to the the page. Far more interesting than an led :-)
That's ok - I should've been down for it, but was only joking! :)Arduino? Hmm.. The Pro Mini though, People seem to be simplifying the shapes so just a rectangle (with clearance for components) or do we need the holes? (I noticed you didn't include the LED legs)I may do a 5mm LED (RGB and IR if legs needed)?
Jamie
Oh sorry I didn't know you were doing the led! It was down as "?" on the list of who was doing what and I needs one, so I figured I might as well do it.
You're doing an arduino according to the the page. Far more interesting than an led :-)
On 17 October 2014 22:50:49 Jamie Osborne <jme...@gmail.com> wrote:
@Jamie - yeah, come on - catchup :)Well, my LED is already done! Apparently.. ;)
I'll work on the Pi sled over the weekend and if there's a part left to do let me know?
Jamie
@Jess - cool, merged :) Fancy adding the example usage into the sandbox? - there's a few examples in there already--@Rob - quick work and liking the coding style on the LED and driver board - what did you think of the naming conventions, etc? anything you'd consider changing?@Jamie - yeah, come on - catchup :)for those that have grasped the file structure already, feel free to submit pull requests for incorporating your vitamins into:config/vitamins.scadassemblies/LogoBot.scadI put some comments in there to suggest where you might add them.... and there's a chance I use too many smileys, ah well
You received this message because you are subscribed to the Google Groups "swindon-hackspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swindon-hackspace+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "swindon-hackspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swindon-hackspace+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "swindon-hackspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swindon-hackspace+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to swindon-hacksp...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "swindon-hackspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swindon-hacksp...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi all,
I’ve just pushed two branches to LogoBot: one is labeled promicro_vitamin
, for which I’d like any comments on general style/layout/etc., but mainly I’m interested in some help on the other promicro_vitamin_no_workie
branch. While I ended up going with a more elegant solution, I still don’t know why the for
loop gives unwanted results.
In order to not make the count and placement of holes rely on a “magic number”, I iterate on the pcbLength - 1 * holeSpace
(for the serial header/micro USB port) - 2 * holeInset
(the amount the pins are from edge of board) to give a number of holes to subtract.
Despite rowcount
appearing to be an integer of 11
as expected (and does echo
to 11
), the for loop never reaches 11
. If I set it manually to 11
, it works. If I increase board length to 1.6 (inches) or greater, it also works.
I considered that the range may not be inclusive as in some languages This would seem to be a float->integer issue, but it does seem to calculate the correct value. In C
, you can normally avoid integer math, by including a float, but these already use floats, and using holeInset*1
does calculate 11.5
as expected, and loop for 0..11
.
holeSpace = 2.54; // The spacing of the holes in mm = 2.54
holeInset = holeSpace/2; // The spacing of the holes in mm = 1.27
pcbLength = 1.3 * 25.4; // The length of the PCB in mm = 33.02
pcbWidth = 0.7 * 25.4; // The width of the PCB in mm = 17.78
rowpitch=pcbWidth-holeInset*2 = 15.24
rowcount=((pcbLength-holeSpace-holeInset*2)/holeSpace) = 11
Ah, yes - I started to do that in Micro_USB_Clearance
and for module names ArduinoPro_PCB
, but hadn’t thought to go back and sort the others! I also thought it was some weird rounding like 10.9999999
or something - but as you say, it did seem to be an integer. Anyway - the other method seems more elegant and robust!
I’ve just put a pull request in, feel free to leave that until I sought those variables. I would like any thoughts on the blocking out of the board clearance and usb port though. :)
@steve and @damian - I prefer a “Pink Lady”; which I’m about to have - though I’m not sure if that’s just because it sounds rude, or that they are delicious!
Forgot to ask about preferred style; since a lot of the functions act as compound statements, and adding braces for each one becomes silly - as does indenting each line - what is the preferred formatting for something like:
color(colour)
translate([move_x, move_y, move_z])
linear_extrude(height=height)
square(size = area, center = true);
which does show the intent(/indent?)
color(colour)
translate([move_x, move_y, move_z])
linear_extrude(height=height)
square(size = area, center = true);
This is more tidy, and is what I’ve used, but it’s a lie.
color(colour) translate([move_x, move_y, move_z])
linear_extrude(height=height) square(size = area, center = true);
I considered this, but again: ambiguous and the second statements could be missed
color(colour) {
translate([move_x, move_y, move_z]) {
linear_extrude(height=height) {
square(size = area, center = true);
}
}
}
More explicit, but very verbose when one line chained/compounds are so common here..
I think it would be best to agree on a single style if possible. Else two people working on the same thing in the same file might use different standards, mayhem would ensue, and the world might stop turning.
I'd favour the CamelCase style too because its closest to what I do day in day out. But I'm not that fussed either way.
--
--
To unsubscribe from this group and stop receiving emails from it, send an email to swindon-hackspace+unsubscribe@googlegroups.com.
In case you do want a vote, my prefs:
PascalCase
- for global vars and modules, underscores optional between words after the common prefix.
camelCase
for compound names of local vars.
camelCase if there's an analogue to a C function in comparison to a class - or perhaps lowercase_with_underscores.
To unsubscribe from this group and stop receiving emails from it, send an email to swindon-hacksp...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "swindon-hackspace" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/swindon-hackspace/0EO_l_R9aW0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to swindon-hacksp...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "swindon-hackspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swindon-hacksp...@googlegroups.com.
--
--
--