LPub3D 1.3.0 Released !


LPub3D 1.3.0 Released !
#1
Greetings,

Just in time for the new year ! Lots of enhancements in this version.

I had some difficulty with adding multiple search directories (essentially allowing for any number of Ldraw libraries) which took me longer than I anticipated. In fact, I had to write an enhancement for ldglite - not so easy updating old c code.

As before, you can download from sourceforge.net or check for updates in your existing installation.

Here are some key enhancements:

   

Full release notes - Happy Reading !

LPub3D 1.3.0.504.2

Features and enhancements
------------
-Add/CHANGE line type attribute to border configuration
0=none,1=solid,2=dash,3=dot,4=dashDot,5=dashDotDot. So an old meta line like this:
0 !LPUB PLI BORDER GLOBAL ROUND Black 0 15 MARGINS 0.472439 0.07
should be updated to this:
0 !LPUB PLI BORDER GLOBAL ROUND 1 Black 0 15 MARGINS 0.472439 0.07
Another example:
0 !LPUB BOM BORDER GLOBAL NONE MARGINS 0.05 0.05
should be updated to this:
0 !LPUB BOM BORDER GLOBAL NONE 0 MARGINS 0.05 0.05

-Add dialog to print or export to image all pages, current page and custom range of pages (e.g. 1,3,5,7-9)

-Add ability to detect additional ldraw content search directories using ldrawini c api
I implemented the ldrawini c api to maintain compatability with LPub3D 3rd Party renderers - LDView, L3P(PovRay) and Ldglite. Additional directories must have either the same tree as LDraw Unofficial directory (i.e. parts and/or p subdirectories...) or alternatively, content can be deposited at the root of the additional directory (i.e. C:/ldrawFiles/*.dat). Content from all defined ldraw search directories are archived in the ldrawunf.zip archive and loaded into memory - enabling access to the 3DViewer.
If no ldraw.ini file is detected. LPub3D will automatically search all subdirectories under the ldraw/Unofficial directory - except directories p and parts. Unofficial subdirectories p and parts as well as official p and parts subdirectories are never searched because they are automatically loaded during default behavior during startup.
There are 2 ways to define search directories: 1. using the Ldraw.ini file (there is now a menu button to edit the ldraw.ini file) and 2. editing the 'Ldraw Content Search Directories text edit dialog under the 'Other' tab in Preferences. If you are using an LDraw.ini file, the preferences dialog will be read only - you must use the menu edit button under 'Configuration' to edit the ldraw.ini file. The ldraw.ini edit button only appears if a ldraw.ini file is detectected. If you are not using ldraw.ini, it is possible to add,remove and reset to the default search directories in the Preferences tab.
ldglite renderer updated with the ability to process additional directories beyond official/unofficial parts, p and Model. I implemented this enhancement to allow all 3 LPub3D renderers(LDView, Ldglite, L3P/PoV Ray) the same functionality supporting additional ldraw content search directories. LPub3D now passes 2 env variables to ldglite - LDRAWDIR and LDSEARCHDIRS. LdView and L3P already uses the ldrawini.c library. They can also be configured to detect additional ldraw content search directories if no ldraw.ini file is configured. I also upgraded ldglite's openGL API from glut (deprecated) to freeglut 3.0 released in June 2015. Ldglite os not versioned at 1.3.0 (from 1.2.7).

-Add ability to manage additional ldraw content search directories whether using Ldraw.ini or not.
If not using Ldraw.ini file, automatically detected search directories are limited to those under the Unofficial directory. The user has the ability to exclude and reset search directories within this edit list. Unofficial P and Parts directories are automatically excluded from the search directory list as they are loaded automatically by the application.
-Add Rotate Icon - indicate that the builder should "flip" the model

-Add PLI/BOM part substitution - substitute modeled part in PLI/BOM with alternate
This feature is useful when you have a modeled part (e.g. Power Functions Light) that will
take alot of space in the BOM/PLI, you can substitute the modeled version with an alternate
representation that is suitable for the PLI/BOM view. This feature is complementary to LDCad's
template functionality which allows you to model adjustable parts as needed. To use this
functionality, simply edit the substituation list from Configuration= BOM/PLI Substitute Parts List

-Add LDCad PART/UNOFFICIAL PART meta to recognize LDCad template generated parts

-Add gradients to background options

-Add Change local page background - colour, gradient, picture, submodel, none

-Add memu item 'Refresh Unofficial Parts' which downloads and replaces the ldrawunf.zip archive
in the Ldraw/LPub3DVoiewer-Library. LPub3D places all search directory parts in the ldrawunf.zip archive so they
can be made available for the LPub3D Viewer. This feature allows you to reset the archive file to
it's latest default content if desired. The ldrawunf.zip unofficial archive is used, along with the complete.zip,
by the 3DViewer.

-Add menu item 'Reset Fade Files Cache' which deletes all generated fade files. Fade files automatically
generated as needed when you open a model with the 'Enable Fade Steps' preference option checked.

-Update 3DViewer to LeoCAD build 1867

-Remove PartsList class, use instead lcPiecesLibrary class to verify parts and capture part title. This is a consolidation to
improve the application's performance.

-Move process fade colour parts to separate thread.

-Move fade parts directory from under LDraw/Unofficial/parts and LDraw/Unofficial/p to as single directory
under LDraw/Unofficial. So from this version of LPub3D, the fade directory will be autogenerated and populated
as LDraw/Unofficial/fade. Old fade directories under Unofficial/parts and p must be manually removed if desired.

-Redesign color part list and archive classes - rename and separate generage color parts list

-Cosmetic and performance updates

-Fix: Changing step number attributes on multi-step pages are now working

-Fix: PLI/BOM sort routine, sort on 'part colour' part(s) appear out of place relative to part size and colour.

-Fix: Do not create instruction page(s) for unofficial part

-Fix: Create s/8/48 subdirectory in lpub/tmp directory when needed. This fix will resolve the issue of LPub3D not being able to create inline unofficial subparts and 8/48 primitives when rendering models where these parts are defined in the model file.
-CHANGE: In previous versions of LPub3D, custom and fade parts were loaded under the Unofficial directory allowing detection by all renderers and the 3D viewer. From this version of LPub3D (v1.3.0), the fade directory will reside at the root of the the Unofficial directory. Custom content added to Unofficial P and Parts directories will not detected by LPub3D.

-CHANGE: Change part count routine to use ldraw archive files to look at '!LDRAW ORG...' part type meta tag. I think there are still some issue with this routine however - especially with large complex models using in-lined unofficial parts that may not be in ldrawunf.zip.

-CHANGE: Change 'Reset All Caches' to 'Reset Image and Model' Caches

-CHANGE: BOM default sort to sort by colour then size, previous default was size only (PLI default sort by size)

-CHANGE: Change 'Update' tab in preferences dialog to 'Other'.

Cheers !
Reply
« Next Oldest | Next Newest »



Messages In This Thread
LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-01-08, 0:32
Re: LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-01-08, 13:13
Re: LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-01-10, 14:27
Re: LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-01-12, 23:19
Re: LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-01-12, 22:10
Re: LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-01-12, 23:17
Re: LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-01-14, 15:02
Re: LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-01-14, 15:02
Re: LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-01-12, 22:13
Re: LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-01-12, 23:08
Re: LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-01-14, 15:03
Re: LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-01-12, 22:59
Re: LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-01-14, 15:11
Re: LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-01-14, 15:13
Re: LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-01-12, 22:44
Re: LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-01-14, 15:16
LPub3D 1.3.1 Released ! - by Trevor Sandy - 2016-01-14, 15:23
Re: LPub3D 1.3.1 Released ! - by Trevor Sandy - 2016-01-19, 21:53
Re: LPub3D 1.3.1 Released ! - by Trevor Sandy - 2016-01-20, 11:18
Re: LPub3D 1.3.1 Released ! - by Trevor Sandy - 2016-01-20, 12:48
Re: LPub3D 1.3.1 Released ! - by Trevor Sandy - 2016-01-20, 12:59
LPub3D 1.3.3 Released ! - by Trevor Sandy - 2016-01-26, 3:48
Re: LPub3D 1.3.3 Released ! - by Trevor Sandy - 2016-01-26, 14:47
LPub3D 1.3.4 Released ! - by Trevor Sandy - 2016-01-26, 23:20
LPub3D 1.3.5 Released ! - by Trevor Sandy - 2016-02-05, 2:29
LPub3D 1.3.5: Feedback - by Mattia Zamboni - 2016-02-07, 15:59
Re: LPub3D 1.3.5: Feedback - by Travis Cobbs - 2016-02-09, 18:45
Re: LPub3D 1.3.5: Feedback - by Don Heyse - 2016-02-11, 3:17
Re: LPub3D 1.3.5: Feedback - by Trevor Sandy - 2016-02-12, 18:50
Re: LPub3D 1.3.5: Feedback - by Don Heyse - 2016-02-17, 3:32
Re: LPub3D 1.3.5: Feedback - by Trevor Sandy - 2016-02-12, 18:44
Re: LPub3D 1.3.5: Feedback - by Travis Cobbs - 2016-02-10, 22:49
Re: LPub3D 1.3.5: Feedback - by Trevor Sandy - 2016-02-12, 18:40
Re: LPub3D 1.3.5: Feedback - by Travis Cobbs - 2016-02-10, 22:56
Re: LPub3D 1.3.5: Feedback - by Trevor Sandy - 2016-02-12, 18:35
RE: LPub3D 1.3.5: Feedback - by Trevor Sandy - 2016-06-04, 14:06
RE: LPub3D 1.3.5: Feedback - by Trevor Sandy - 2016-06-05, 11:25
Re: LPub3D 1.3.5: Feedback - by Trevor Sandy - 2016-02-12, 19:33
Re: LPub3D 1.3.5: Feedback - by Trevor Sandy - 2016-02-12, 19:26
Re: LPub3D 1.3.0 Released ! - by Don Heyse - 2016-02-04, 2:13
Re: LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-02-04, 17:20
Re: LPub3D 1.3.0 Released ! - by Don Heyse - 2016-02-05, 0:43
Re: LPub3D 1.3.0 Released ! - by Don Heyse - 2016-02-06, 4:04
Re: LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-02-12, 19:45
Re: LPub3D 1.3.0 Released ! - by Don Heyse - 2016-02-13, 14:38
Re: LPub3D 1.3.0 Released ! - by Don Heyse - 2016-02-18, 13:02
Re: LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-02-18, 13:43
Re: LPub3D 1.3.0 Released ! - by Don Heyse - 2016-03-06, 16:42
Re: LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-03-14, 11:25
Re: LPub3D 1.3.0 Released ! - by Don Heyse - 2016-03-15, 0:50
Re: LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-03-15, 23:03
Re: LPub3D 1.3.0 Released ! - by Don Heyse - 2016-03-16, 0:13
Re: LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-02-12, 18:29
Re: LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-02-14, 23:10
RE: LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-05-30, 10:55
RE: LPub3D 1.3.0 Released ! - by Don Heyse - 2016-05-20, 10:45
RE: LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-05-30, 10:51
RE: LPub3D 1.3.0 Released ! - by Trevor Sandy - 2016-05-27, 16:50

Forum Jump:


Users browsing this thread: 2 Guest(s)