Have you seen my most recent project, ImplicitCAD? It supports recursion in functions and will soon have it in modules.First. Most code editors keep track of what column you are in when you goto the next line.Īlso, highlighting a code blaock and increasing the indent by pressing tab would be cool. I thought of a new and easy one… keeping indents. ![]() This will help you change the right axis (for transform or rotate operations). >Similarly, it would be great if you could ‘nudge’ numbers with the arrow keys, to increase or decrease them slightly and see the preview change. But having highlighting past # till the end of the block/line/whatever should be possible and fairly easy. I think it would be very difficult to implement precisely this, since my highlighter doesn’t have any easy way of finding out what line it is on, let alone what line your cursor is on. hitting home (beginning of the line) “#” (for highlighting the item in OpenSCAD) >I have one request that would make OpenSCAD A LOT better: not just highlight syntax, but also highlight where the line with the cursor/caret is, which objects fall under that part. We’ve agreed that built in syntax highlighting is a good thing, though, so I think my code will get in. Thanks! I actually just found out on the openSCAD mailing list that openSCAD could already support syntax highlighting if you change some setting sin the Makefile and build against QCodeEditor ( details). Though syntax highlighting DEFINTELY makes my day!! >Those other things are also serious improvements. More than I can afford, but the syntax highlighting that was missing makes me crazy. Too often I change stuff in the wrong place because lines often appear similar. TABS! (especially those includes, will get people to SCAD more modularly)Īfter rotating the view, put the cursor at the line where it was. Similarly, it would be great if you could ‘nudge’ numbers with the arrow keys, to increase or decrease them slightly and see the preview change. I have one request that would make OpenSCAD A LOT better: not just highlight syntax, but also highlight where the line with the cursor/caret is, which objects fall under that part. Those other things are also serious improvements. Those are both really cool ideas, though non-trivial… I’ll keep them in mind. >more on the visual side of things, being able to highlight a block in the render from a block of code even if it’s buried somewhere in the mess would be nice. ![]() >once you include a lib it would be really nice to be able to see a selection of functions and vars available from it. Consider it added to my list, though I think it would be tricky to implement. I completely forgot how much I wanted that when I started with openSCAD. ![]() > would love to have tabs to work on multiple docs at once □ More on the visual side of things, being able to highlight a block in the render from a block of code even if it’s buried somewhere in the mess would be nice. Once you include a lib it would be really nice to be able to see a selection of functions and vars available from it. Would love to have tabs to work on multiple docs at once □ Been spending a lot of time in openscad and it can be frustrating when I’m used to working with apps like notepad++ You can leave a response, or trackback from your own site. You can follow any responses to this entry through the RSS 2.0 feed. This entry was posted on Maat 18:48 and is filed under Uncategorized. You can try them by building my branch, which you can get from github.) (My changes are not merged into the main branch of openSCAD. In any case, I’m curious as to what other people would like to change in openSCAD. describe vectors in circular/spherical coordinates.concatenate strings/vectors with a “++” operator UPDATE: Implemented.Then there are some things I’ve been thinking of doing: length function for lengths of vectors and strings.I’ve also added a number of language extensions: The most visible change I’ve made is demonstrated in the above screen shot: syntax highlighting. It helped that I had worked in C++ with the QT libraries before. I was pleasantly surprised to discover that most of the openSCAD source code is well written and easy to modify. So, on Friday, I pulled the source code from it and started hacking on it. There have always been a number of feature missing from openSCAD that frustrated me.
0 Comments
Leave a Reply. |