Software

STL Viewer

STL-Viewer STL Files: STL (an abbreviation of “stereolithography”) is a file format native to the stereolithography CAD software. Nowadays STL files are widley used within 3D-Printing technology. Purpose: As there is no build-in support to preview STL files for the Windows-Explorer (as far as I know…), I implemented this utility program for only this reason. The software is self dependent and consists of one single executable. The program emulates a local web server and therfore requires an up-to-date web browser installation (iExplorer, Safari, etc…).

Continue reading

STL files: How to convert from ascii to binary

Convert STL files from ascii to binary STL (an abbreviation of “stereolithography”) is a file format native to the stereolithography CAD software. For a full description of the specification refer to the following links: https://de.wikipedia.org/wiki/STL-Schnittstelle https://en.wikipedia.org/wiki/STL_(file_format) Purpose: Since the introduction of the 3D-Printing technology, the stereolithy (STL) file format has become very popular. In general, there are 2 possible file-formats : ascii and binary STL files. The most common format is ascii, although it consumes a lot more disc space and also takes significant more time to read in comarison to its binary counterpart.

Continue reading

Tcl/Tk xtablelist

XTablelist Package Purpose: A TclOO class to extend the fabulous tablelist widget. TclOO naming conventions: public methods - starts with lower case declaration names, whereas private methods - starts with uppercase naming, so we use CamelCase … widget commands: xtablelist::xtablelist xtablelist::configure xtablelist::cget xtablelist::xtablelist understands all commands from original tablelist, for more sub-command refer as well to the public class interface widget options: -xhideoption boolean “yes”,1 / “no”,0 (default: “no”), hide/show a popup-menu which allows to manipulate the tablelist column display

Continue reading

Tcl/tk BWidget_patch

BWidget_patch Purpose: This package solves some issues with BWidget in conjunction with the ttk widget set. As long as the bugs are not fixed, this package can be used to “overload” original procedures where the problems araise. Usage: A typical initialization sequence might look like: # starkit support sequence: if {[catch { package require starkit if {[starkit::startup] eq "sourced"} { return } }]} { namespace eval ::starkit { if {[set this [info script]] == ""} { set this [info nameofexecutable] } variable topdir [file normalize [file dirname $this]] } } # where to find support packages: lappend auto_path [file join $::starkit::topdir "lib"] package require Tk package require tile # initialize a custom theme (optional): set ctheme "plastik" package require ttk::theme::${ctheme} ttk::setTheme $ctheme package require -exact BWidget 1.

Continue reading

HelpViewer based on Tkhtml 3.0

HelpViewer Application The HelpViewer is a standalone application to display html files which might be organized in a directory structure. The program is written in tcl/tk and is based on the Tkhtml 3.0 library. When starting the application, a dialog pops up, where you can drag&drop your prefered directory using the file explorer: Features: Once a directory is specified, the program traverses down the tree to search for all available html files.

Continue reading

Tcl/tk html3widget

html3widget - a tcl/tk megawidget Purpose: The html3widget is a tcl/tk package which implements a megawidget to render html + css. The code is based on Tkhtml3.0 and as well HV3 which (for the moment) is not actively developed, but still offers a solid base to render html including css support. The following picture illustrates of how a html file with underlying css bootstrap3.xx framework might look like: The package might be used to implement an internal help viewer (for an application) in an easy way.

Continue reading

Markdown2Go

Markdown2Go Markdown: Markdown is a text-to-HTML conversion tool for web writers and to create various html documentation in an easy way. Follow this link to find outmore about the Markdown Syntax … What is Markdown2Go ? Let’s you instantly convert ‘markdown’ text files to html. Markdown2Go is an easy to use desktop utility which allows to convert text files from markdown to html. The program includes all required software like the markdown converter itself, plus some more useful packages like the caius extension (with table support) and bootstrap (a frequently used css framework).

Continue reading

QLOCKTWO

QLOCKTWO Description: Just for fun. When I was walking around for sightseeing, I discovered such a clock in the presentation area of a shop. I thought, this could be a nice fun program to implement with tcl/tk. After a quick search, I discovered that someone else already had the same idea. Pls see here: wiki.tcl.tk/27622. I just thought, it might be useful, to prepare an executable, so that everyone quickly can give it a trial.

Continue reading

DirDiff

DirDiff -- Purpose: A directory comparison utility. DirDiff is a graphical tool to display the differences between files in directories. Given two or more directory trees (the program can handle up to 5 individual directories at the same time), dirdiff will display the differences between them in various colors. The program is a combination of dirdiff (directory comparison) as well as tkdiff (file comparison). It depends on the diff command - a unix utility command.

Continue reading

Tcl/tk

Tcl (Tool Command Language) is a very powerful but easy-to-learn dynamic programming language, suitable for a very wide range of use cases: including web and desktop applications, networking, administration, testing and many more. Open source and business-friendly, Tcl is a mature yet evolving language that is truly cross-platform, easily deployed and highly extensible. Tk is a graphical user interface toolkit that takes developing desktop applications to a higher level than conventional approaches.

Continue reading