I just started using OpenSCAD a few weeks ago, and initially just used
the binary in Ubuntu 14.04's apt repo ("2013.01+dfsg-2.2"). More
recently I switched to building the source from the openscad/openscad
repo on github. (I'm just building whatever's currently in the master
branch.)
Overall, the new version is a huge improvement (thanks everyone who
works on it!) but there are a few quirks in my build. I'm not sure if
these are actual bugs, things wrong with the way I'm building it, or
just seem odd to me because my workflow is atypical:
The font in the editor is a cursive script font. This isn't a big
deal for me, as I don't really use the internal editor, but I'm
worried it might be a symptom of a bigger problem. Here's a
screenshot: http://i.imgur.com/Rs4z02V.png
I haven't been able to find any way to get into the preferences.
There are no menus, unlike the old version. Among other things, this
means I haven't found a way to adjust the font.
As I mentioned, I don't normally use the internal editor, but a
couple of the controls that are useful to me only exist when the
editor pane is open. In particular, "Export as STL". "Open" might
also be nice.
As an aside, I'm not sure why the editor has preview and render
buttons, as these seem like viewer controls.
I think you have some problems.
Sorry I can't help with build problems.
Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.
View this message in context: http://forum.openscad.org/Some-issues-in-new-UI-tp11997p12001.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
-Marius
--
View this message in context: http://forum.openscad.org/Some-issues-in-new-UI-tp11997p12002.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
The nightly worked, and also helped me figure out what was wrong with my
build. Thanks!
Details, in case you're interested:
I installed the nightly, and it had a working menu and reasonable font.
When it installed, apt also pulled in two extra packages:
libqscintilla2-11 and libqscintilla2-l10n. That seemed like a possible
clue.
I tried "make clean" followed by "make". I still had the problem, so I
did a "git clean -ix" (just deleted Makefile).
I then ran the dependency check script...
$ scripts/check-dependencies.sh
depname minimum found OKness
qt 4.4 5.2.1 OK
qscintilla2 2.7 2.8.1 OK
cgal 3.6 4.2 OK
gmp 5.0 5.1.3 OK
mpfr 3.0 3.1.2 OK
boost 1.35 1.54 OK
opencsg 1.3.2 1.3.2 OK
glew 1.5.4 1.7.0 OK
eigen 3.0 3.2.0 OK
glib2 2.0 2.40.2 OK
fontconfig 2.10 2.11. OK
freetype2 2.4 17.1.11 OK
harfbuzz 0.9.19 0.9.27 OK
bison 2.4 3.0.2 OK
flex 2.5.35 2.5.35 OK
make 3 3.81 OK
...which said OK for everything. Then I ran "qmake-qt4", which gave me
a warning:
$ qmake-qt4 openscad.pro
Project MESSAGE: If you're building a development binary, consider
adding CONFIG+=experimental
WARNING: /home/laurence/src/third-party/openscad/scintilla.pri:13:
Unable to find file for inclusion qscintilla2
Project MESSAGE: Using local copy of qscintilla2.prf instead.
Remebering that apt had installed those libqscintilla2 packages I tried
installing the corresponding headers:
$ apt-get install libqscintilla2-dev
And then re-ran "qmake-qt4 openscad.pro" which eliminated that warning.
Building with that new Makefile seemed to correct the issue.
I don't get why the "local copy of qscintilla2.prf" would result in no
menu, but I guess oddities in the editor (ie: the font issue) sort of
make sense.
What I'm most surprised at is that it was able to build and run without
a build or runtime failure, just really weird behavior.